Batch Trades
POST /trades/batch
POST /trades/batch
Sample request
[
{
"symbol": "BTC/e₹",
"trade_reporter": "reporter@mcx.com",
"reporting_party": "AAAAAA",
"settlement_schedule": "ABCDEF",
"client_trade_id": "5155f7c9-95cb-4556-ab89-c178943a7111",
"trade_price": "1",
"trade_quantity": "0.0001",
"platform_code": "AAAAAA",
"parties_anonymous": false,
"transaction_timestamp": 1602182786660,
"product_type": "spot",
"trade_type": "regular",
"physical_delivery": true,
"parties": [
{
"participant_code": "BBBBBB",
"asset": "BTC",
"side": "buy",
"settling": true
},
{
"participant_code": "CCCCCC",
"asset": "e₹",
"side": "sell",
"settling": true
}
]
},
{
"symbol": "BTC/e₹",
"trade_reporter": "reporter@mail.com",
"reporting_party": "DDDDDD",
"settlement_schedule": "ABCXYZ",
"client_trade_id": "5155f7c9-95cb-4556-ab89-c178943a7222",
"trade_price": "2",
"trade_quantity": "0.0002",
"platform_code": "DDDDDD",
"parties_anonymous": false,
"transaction_timestamp": 1602182786660,
"product_type": "spot",
"trade_type": "regular",
"physical_delivery": true,
"parties": [
{
"participant_code": "EEEEEE",
"asset": "BTC",
"side": "buy",
"settling": true
},
{
"participant_code": "FFFFFF",
"asset": "e₹",
"side": "sell",
"settling": true
}
]
}
]
Sample Response
{
"message": [
{
"trade_id": "a51d841b-0b1f-441c-96e3-fd164e0b3ff8",
"client_trade_id": "5155f7c9-95cb-4556-ab89-c178943a7111",
"session_id": "20190801000000",
"trade_state": "accepted",
"market_identifier_code": null,
"trade_reporter": "reporter@mail.com",
"reporting_party": "AAAAAA",
"settlement_schedule": "ABCDEF",
"symbol": "BTC/e₹",
"trade_quantity": "0.0001",
"trade_price": "1",
"trade_type": "regular",
"physical_delivery": true,
"comment": null,
"last_update": 1602526124763,
"transaction_timestamp": 1602182786660,
"accepted_timestamp": 1602526124692,
"defaulted_timestamp": null,
"settled_timestamp": null,
"expiry_timestamp": null,
"settlement_timestamp": null,
"settlement_price_index_id": null,
"contract_size": 1,
"bank_fee": "1.00",
"underlying": "BTC",
"quoted_currency": "e₹",
"trade_reporter": "AAAAAA",
"platform_code": "AAAAAA",
"product_type": "spot",
"parties_anonymous": false,
"parties": [
{
"participant_code": "BBBBBB",
"side": "buy",
"asset": "BTC",
"amount": "null",
"liquidity_indicator": null,
"execution_id": null,
"order_id": null,
"obligations_outstanding_timestamp": null,
"current_obligations_met_timestamp": null,
"settlement_state": null,
"client_order_id": null,
"collateral_percentage": null
},
{
"participant_code": "CCCCCC",
"side": "sell",
"asset": "e₹",
"amount": "null",
"liquidity_indicator": null,
"execution_id": null,
"order_id": null,
"obligations_outstanding_timestamp": null,
"current_obligations_met_timestamp": null,
"settlement_state": null,
"client_order_id": null,
"collateral_percentage": null
}
],
"platform_name": null
},
{
"trade_id": "fe47ef4b-43d3-41c6-a7e9-42e414a6b34e",
"client_trade_id": "5155f7c9-95cb-4556-ab89-c178943a7222",
"session_id": "20190801000000",
"trade_state": "accepted",
"market_identifier_code": null,
"trade_reporter": "reporter@mail.com",
"reporting_party": "DDDDDD",
"settlement_schedule": "ABCXYZ",
"symbol": "BTC/e₹",
"trade_quantity": "0.0002",
"trade_price": "2",
"trade_type": "regular",
"physical_delivery": true,
"comment": null,
"last_update": 1602526124648,
"transaction_timestamp": 1602182786660,
"accepted_timestamp": 1602526124637,
"defaulted_timestamp": null,
"settled_timestamp": null,
"expiry_timestamp": null,
"settlement_timestamp": null,
"settlement_price_index_id": null,
"contract_size": 1,
"bank_fee": "1.00",
"underlying": "BTC",
"quoted_currency": "e₹",
"trade_reporter": "DDDDDD",
"platform_code": "DDDDDD",
"product_type": "spot",
"parties_anonymous": false,
"parties": [
{
"participant_code": "EEEEEE",
"side": "buy",
"asset": "BTC",
"amount": "null",
"liquidity_indicator": null,
"execution_id": null,
"order_id": null,
"obligations_outstanding_timestamp": null,
"current_obligations_met_timestamp": null,
"settlement_state": null,
"client_order_id": null,
"collateral_percentage": null
},
{
"participant_code": "FFFFFF",
"side": "sell",
"asset": "e₹",
"amount": "null",
"liquidity_indicator": null,
"execution_id": null,
"order_id": null,
"obligations_outstanding_timestamp": null,
"current_obligations_met_timestamp": null,
"settlement_state": null,
"client_order_id": null,
"collateral_percentage": null
}
],
"platform_name": null
}
]
}
Last updated