getPastTrades
Returns a list of past trades (within the last 7 days) that have been accepted. Includes both sent and received trades.
| Parameter | Required | Description |
|---|---|---|
| Command | Y | getPastTrades |
Example Response
{
"code": "200",
"msg": "",
"data": {
"sent": [
{
"tradeDescription": "VX/J5 - Apr 21, 2055 - Block",
"side": "BUY",
"size": 100,
"price": 10,
"tradeTime": "Oct 11, 15:03:00",
"blockTradeComplexType": "SIMPLE",
"reportingFirm": null,
"contraTrades": [
{
"reportingFirm": "BATS Trading, Inc.",
"tradeDescription": "VX/J5 - Apr 21, 2055 - Block",
"blockTradeComplexType": "SIMPLE",
"side": "BUY",
"size": 100,
"price": 10,
"token": null,
"tradeTime": "Oct 11, 15:03:00",
"status": "submitted",
"account": "1111",
"ctiCode": 1,
"capacity": "F",
"operatorId": "1111",
"rejectReason": null,
"minutesRemaining": 0,
"responseTime": "15:05:08",
"efid": "BATS",
"frequentTraderId": null
}
],
"totalAccepted": 1,
"totalRejected": 0,
"totalPending": 0,
"minutesRemaining": 0
}
],
"received": [
{
"reportingFirm": "BATS Trading, Inc.",
"tradeDescription": "VX/J5 - Apr 21, 2055 - Block",
"blockTradeComplexType": "SIMPLE",
"side": "BUY",
"size": 100,
"price": 10,
"token": null,
"tradeTime": "Oct 11, 15:03:00",
"status": "submitted",
"account": "1111",
"ctiCode": 1,
"capacity": "F",
"operatorId": "1111",
"rejectReason": null,
"minutesRemaining": 0,
"responseTime": "15:05:08",
"efid": "BATS",
"frequentTraderId": null
}
]
}
}




