Last updated 3 months ago
Returns a paginated list of BlockTrades ordered by traded_at desceding.
123
const response = await fetch('/v1/ob/trade_tape/', { method: 'GET', headers: { "Authorization": "Bearer Bearer" }, }); const data = await response.json();
{ "count": 123, "next": "text", "results": [ { "description": "text", "venue": {}, "traded": 0, "instrument_kind": {}, "price": "text", "quantity": "text", "strategy_code": "text", "product_codes": [ "text" ], "mark_price": "text", "quote_currency": {}, "action": {} } ] }
Returns a paginated list of BlockTrades ordered by traded_at descending.
const response = await fetch('/v1/ob/trades/', { method: 'GET', headers: { "Authorization": "Bearer Bearer" }, }); const data = await response.json();
{ "count": 123, "next": "text", "results": [ { "action": {}, "description": "text", "instrument_kind": {}, "mark_price": "text", "price": "text", "product_codes": [ "text" ], "quantity": "text", "quote_currency": {}, "strategy_code": "text", "traded": 0, "venue": {}, "api_credential": "text", "client_order_id": "text", "desk_role": "text", "status": {} } ] }
Returns detailed BlockTrade if requesting user is part of it.
const response = await fetch('/v1/ob/trades/{id}/', { method: 'GET', headers: { "Authorization": "Bearer Bearer" }, }); const data = await response.json();
{ "desk_role": "text", "instrument_kind": {}, "product_codes": [ "text" ], "status": {}, "description": "text", "action": {}, "venue": {}, "legs": [ { "instrument": "text", "price": "text", "product_code": "text", "quantity": "text", "ratio": "text", "side": "text", "action": {}, "exec_id": "text" } ], "price": "text", "quote_currency": {}, "client_order_id": "text", "mark_price": "text", "api_credential": "text", "quantity": "text", "traded": 0 }