Dear valued customers,
In order to faciliate the reconciliation between “transaction fee” and “rebate” data through API, we will update the definition of “Fee” in the following parameters return values for spot and margin trading APIs at 08:00 Aug 13, 2019 (CEST, UTC+2):
Current: The rebate and transaction fee deduction will be shown in Fee parameters, both in positive numbers.
Updates: The rebate and transaction fee will be shown in Fee parameters, rebate is in positive number, transaction fee deduction is negative number. For V3 Open API, the “Fee” for spot, spot margin, futures and perpetual swap will be standardized.
a. Get Transaction Details:
“GET /api/margin/v3/fills” and “GET /api/spot/v3/fills”
b. Bills Details:
“GET /api/margin/v3/accounts/<instrument_id>/ledger” and “GET /api/spot/v3/accounts/<currency>/ledger”
Thank you for your understanding.
The V3 API offers more stable, efficient experience and more comprehensive functionalities than the V1 API. As V1 Restful API will be terminated soon, we suggest you switch to V3 API for trading. (API documentation: https://www.okex.com/docs/en/) If you have any questions on migration or suggestions on API, please reach out to us on Telegram at http://t.me/OKExAPI.
Thank you for your continued support and we assure you of our best services at all times.
Aug 9, 2019