API Reference

Position Report <AP>

Tag#

Field Name

Required

Comments

Standard Header

Yes

MsgType <35> = AP

710

PosReqID

Yes

Unique identifier provided by the client in position request message

721

PosMaintRptID

Yes

Unique identifier for this position Report

724

PosReqType

No

Used to specify the type of position request being made. Must be always be 0 to indicate for “Positions”

728

PosReqResult

No

Result of a Request for Position. Valid values
▪ 0 – success
▪ 1 – unsupported request for positions
▪ 99 – other

702

NoPositions

No

Number of position entries following

=>15

Currency

Yes

Currency

=>704

LongQty

Yes

Quantity of the given currency the client is long (Available)

Standard trailer

Yes

RAW
       8=FIX.4.4|9=339|35=AP|34=79|49=TradingGateway|52=20240218-16:05:31.382|56=JOSEPH|1=1471090223379184384|60=20240218-16:05:31.382|702=6|704=7180.41192007|15=BTC|704=6733.08213275|15=ETH|704=50021773.184|15=HKD|704=68289083.48767888035|15=USD|704=49421924.6622557389488|15=USDC|704=886883.619680076|15=USDT|710=1981400120|721=1443689051050749228|724=0|728=0|10=081        |

HEADER
       8                 BeginString: FIX 4.4
       9                  BodyLength: 339
      35                     MsgType: AP (Position Report)
      34                   MsgSeqNum: 79
      49                SenderCompID: TradingGateway
      52                 SendingTime: 20240218-16:05:31.382
      56                TargetCompID: JOSEPH

BODY
       1                     Account: 1471090223379184384
      60                TransactTime: 20240218-16:05:31.382
     702                 NoPositions: 6
     704                     LongQty: 7180.41192007
      15                    Currency: BTC
     704                     LongQty: 6733.08213275
      15                    Currency: ETH
     704                     LongQty: 50021773.184
      15                    Currency: HKD
     704                     LongQty: 68289083.48767888035
      15                    Currency: USD
     704                     LongQty: 49421924.6622557389488
      15                    Currency: USDC
     704                     LongQty: 886883.619680076
      15                    Currency: USDT
     710                    PosReqID: 1981400120
     721               PosMaintRptID: 1443689051050749228
     724                  PosReqType: 0
     728                PosReqResult: 0

TRAILER
      10                    CheckSum: 081