Last updated 1 month ago
Refer to for establishing the websocket connection.
{ "source": "trades", "symbol": "<token_symbol>" }
{ "s": "<token_symbol>", "a": "<trade_amount>", "p": "<filled_price>", "e": "<trade_event>", "t": <timestamp> }
where trade_eventis one of open_long, open_short, close_long, close_short, force_close_long, force_close_short and timestamp is in milliseconds.
trade_event
open_long, open_short, close_long, close_short, force_close_long, force_close_short
timestamp