API Reference

Position Report <AP>

Tag#Field NameRequiredComments
Standard HeaderYesMsgType <35> = AP
710PosReqIDYesUnique identifier provided by the client in position request message
721PosMaintRptIDYesUnique identifier for this position Report
724PosReqTypeNoUsed to specify the type of position request being made. Must be always be 0 to indicate for “Positions”
728PosReqResultNoResult of a Request for Position. Valid values
▪ 0 – success
▪ 1 – unsupported request for positions
▪ 99 – other
702NoPositionsNoNumber of position entries following
=>15CurrencyYesCurrency
=>704LongQtyYesQuantity of the given currency the client is long (Available)
Standard trailerYes
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