Request parameters.
Gets block trades for a specific account.
Weight: 5
Request parameters.
Query account funding flows.
Weight: 1
Request parameters.
Get trades for a specific account and symbol.
Weight: 5
Request parameters.
This endpoint resets the time from which the countdown will begin to the time this messaged is received. It should be called repeatedly as heartbeats. Multiple heartbeats can be updated at once by specifying the underlying symbols as a list (ex. BTCUSDT,ETHUSDT) in the underlyings parameter.
The response will only include underlying symbols where the heartbeat has been successfully updated.
Weight: 10
Request parameters.
Cancel all active orders on specified underlying.
Weight: 1
Request parameters.
Cancel all active order on a symbol.
Weight: 1
Request parameters.
Cancel a block trade order.
Weight: 5
Request parameters.
Cancel multiple orders.
At least one instance of orderId
and clientOrderId
must be sent.
Weight: 1
Request parameters.
Cancel an active order.
At least one instance of orderId
and clientOrderId
must be sent.
Weight: 1
Request parameters.
Test connectivity to the Rest API and get the current server time.
Weight: 1
Close out a user data stream.
Weight: 1
Current exchange trading rules and symbol information
Weight: 1
Extends a block trade expire time by 30 mins from the current time.
Weight: 5
Request parameters.
This endpoint returns the auto-cancel parameters for each underlying symbol. Note only active auto-cancel parameters will be returned, if countdownTime is set to 0 (ie. countdownTime has been turned off), the underlying symbol and corresponding countdownTime parameter will not be returned in the response.
countdownTime = 0 means the function is disabled.
Weight: 1
Request parameters.
Get download id for option transaction history
Request Limitation is 5 times per month, shared by > front end download page and rest api
The time between startTime
and endTime
can not be longer than 1 year
Weight: 5
Request parameters.
Get config for MMP.
Weight: 1
Request parameters.
Get option transaction history download Link by Id
Download link expiration: 24h
Weight: 5
Request parameters.
Get historical exercise records. REALISTIC_VALUE_STRICKEN -> Exercised EXTRINSIC_VALUE_EXPIRED -> Expired OTM
Weight: 3
Request parameters.
Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 60 minutes.
Weight: 1
Kline/candlestick bars for an option symbol. Klines are uniquely identified by their open time.
If startTime and endTime are not sent, the most recent klines are returned.
Weight: 1
Request parameters.
Send in a new block trade order.
Weight: 5
Request parameters.
Send a new order.
Weight: 0
Request parameters.
Get older market historical trades.
Weight: 20
Request parameters.
Get open interest for specific underlying asset on specific expiration date.
Weight: 0
Request parameters.
Get current account information.
Weight: 3
Request parameters.
Get current account information.
Weight: 3
Request parameters.
Option mark price and greek info.
Weight: 5
Request parameters.
Get current position information.
Weight: 5
Request parameters.
Check orderbook depth on specific symbol
Weight: limit | weight |
---|---|
5, 10, 20, 50 | 2 |
100 | 5 |
500 | 10 |
1000 | 20 |
Request parameters.
Send multiple option orders.
Parameter rules are same with New Order Batch orders are processed concurrently, and the order of matching is not guaranteed.
Weight: 5
Request parameters.
Query block trade details; returns block trade details from counterparty's perspective.
Weight: 5
Request parameters.
Check block trade order status.
Weight: 5
Request parameters.
Query current all open orders, status: ACCEPTED PARTIALLY_FILLED
Weight: 1 for a single symbol; 40 when the symbol parameter is omitted
Request parameters.
Query all finished orders within 5 days, finished status: CANCELLED FILLED REJECTED.
Weight: 3
Request parameters.
Check an order status.
These orders will not be found:
order status is CANCELED
or REJECTED
, AND
order has NO filled trade, AND
created time + 3 days < current time
Either orderId
or clientOrderId
must be sent.
Weight: 1
Request parameters.
Get recent block trades
Weight: 5
Request parameters.
Get recent market trades
Weight: 5
Request parameters.
Reset MMP, start MMP order again.
Weight: 1
Request parameters.
Generic function to send a request.
The API endpoint to call.
HTTP method to use (GET, POST, DELETE, etc.).
Query parameters for the request.
A promise resolving to the response data object.
Generic function to send a signed request.
The API endpoint to call.
HTTP method to use (GET, POST, DELETE, etc.).
Query parameters for the request.
A promise resolving to the response data object.
This endpoint sets the parameters of the auto-cancel feature which cancels all open orders (both market maker protection and non market maker protection order types) of the underlying symbol at the end of the specified countdown time period if no heartbeat message is sent. After the countdown time period, all open orders will be cancelled and new orders will be rejected with error code -2010 until either a heartbeat message is sent or the auto-cancel feature is turned off by setting countdownTime to 0.
This rest endpoint sets up the parameters to cancel your open orders in case of an outage or disconnection. Example usage: Call this endpoint with a countdownTime value of 10000 (10 seconds) to turn on the auto-cancel feature. If the corresponding countdownCancelAllHeartBeat endpoint is not called within 10 seconds with the specified underlying symbol, all open orders of the specified symbol will be automatically canceled. If this endpoint is called with an countdownTime of 0, the countdown timer will be stopped. The system will check all countdowns approximately every 1000 milliseconds, please note that sufficient redundancy should be considered when using this function. We do not recommend setting the countdown time to be too precise or too small.
Weight: 1
Request parameters.
Set config for MMP. Market Maker Protection(MMP) is a set of protection mechanism for option market maker, this mechanism is able to prevent mass trading in short period time. Once market maker's account branches the threshold, the Market Maker Protection will be triggered. When Market Maker Protection triggers, all the current MMP orders will be canceled, new MMP orders will be rejected. Market maker can use this time to reevaluate market and modify order price.
Weight: 1
Request parameters.
Start a new user data stream. The stream will close after 60 minutes unless a keepalive is sent. If the account has an active listenKey
, that listenKey
will be returned and its validity will be extended for 60 minutes.
Weight: 1
Get spot index price for option underlying.
Weight: 1
Request parameters.
Test connectivity to the Rest API.
Weight: 1
24 hour rolling window price change statistics.
Weight: 5
Request parameters.
Get account exercise records.
Weight: 5
Request parameters.
Accept a block trade order
Weight: 5