Getting Started
Public Data
Trading
- POSTPlace order
- DELCancel order
- DELCancel multiple orders
- GETGet order
- GETGet orders
- PUTEdit order
- POSTPlace algo order
- DELCancel algo order
- DELCancel multiple algo orders
- DELCancel all orders by symbol
- GETGet algo order
- GETGet algo orders
- PUTEdit algo order
- GETGet transaction by trade id (last 3 months)
- GETGet transaction history (in the past 2 years)
- GETGet trading fee
- POSTCancel all after
Account
Assets
Futures
Spot Margin
Websocket Streams
- Introduction
- Public Market Data
- Private User Data
- Commands
Public Market Data
Index price
Copy
{
"topic": "indexprice@SPOT_ETH_USDT",
"ts": 1618820361552,
"data": {
"s": "SPOT_ETH_USDT", // symbol
"px": "3987.1", // index price
"ts": 1618820361552 // timestamp at which the index price was calculated
}
}
Topic: indexprice@{symbol}
Push interval: 1s
Subscribe to the index price of the symbol.
Copy
{
"topic": "indexprice@SPOT_ETH_USDT",
"ts": 1618820361552,
"data": {
"s": "SPOT_ETH_USDT", // symbol
"px": "3987.1", // index price
"ts": 1618820361552 // timestamp at which the index price was calculated
}
}
Copy
{
"topic": "indexprice@SPOT_ETH_USDT",
"ts": 1618820361552,
"data": {
"s": "SPOT_ETH_USDT", // symbol
"px": "3987.1", // index price
"ts": 1618820361552 // timestamp at which the index price was calculated
}
}
Assistant
Responses are generated using AI and may contain mistakes.