Dear OKX API users,
As previously announced, OKX will adjust the contract multiplier of ETHUSD options on July 07, 2022, 09:10 AM (UTC) and BTCUSD options on July 14, 2022, 09:10 AM (UTC), respectively. During the adjustment, users’ positions and their number of pending orders related to these contracts will also be adjusted. Other contracts, however, will remain unchanged. For more details, please refer to our previous announcement
Once the maintenance is completed and the trading service resumed, please retrieve the information concerning latest positions, number of pending orders, position tiers and instruments by following these steps.
a) Resubscribe to the WebSocket "positions" channel to receive the initial snapshot of positions according to subscription granularity, or query the REST API endpoint "GET /api/v5/account/positions" to fetch the positions list. You’ll then get the latest positions.
b) Query the REST API endpoint "GET /api/v5/trade/orders-pending" to fetch all incomplete orders to see the latest number of pending orders.
c) Query the REST API endpoint "GET /api/v5/public/position-tiers" to get the latest position-tier information.
d) Resubscribe to the WebSocket "instruments" channel to receive the full instruments list pushing messages, or query the REST API endpoint "GET /api/v5/public/instruments" to fetch the instruments list to see the latest face values of the contracts.
e) If you are using the REST API endpoint "GET /api/v5/account/max-size" for the maximum number of contracts that you can buy or sell, please requery this endpoint to get the latest result.
July 1st, 2022 (UTC)
Click Here to Download OKX App >>>
Click Here for OKX Twitter >>>