Live Trades
liveTrades
This API allows to get close to real time trades details happen on the market, you can retrieve limited amount last trades the were already happen and right after you will get real time event for new trades. Trade will come sorted by time, old trades will come first. When snapshot is completed, the last trade will be sent again, but quantity field will be set to 0.
This stream includes trade entry, trade cancellation and RFQ trades.
Request
symbol
String
Symbol to retrieve the light tickers for
limit
eNum
Number of past trades (sorted by time descending).
0 ≤ limit ≤ 10,000
Response
price
Decimal
Trade price
quantity
Decimal
Trade quantity, for snapshot end message this will be set to 0. In case of cancellation the quantity will be negative → quantity * (-1)
makerSide
Decimal
If resting order or dealer side of RFQ is Buy→ 1 else 0 for trade cancellation, trade entry -1
timeStamp
Unix timestamp
Trade timestamp (milliseconds)
multiLegReportingType
eNum
For non strategy instruments: 1
For strategy leg instruments: 2
For strategy parent instruments: 3
Error Codes
1
System is unavailable
2
Missing fields: [Fieldname]
3
Wrong limit | Wrong symbol [symbol] |
Samples
Last updated