API 常見問答
可以直接使用獲取交易產品基礎信息接口獲取:https://www.okx.com/docs-v5/zh/#public-data-rest-api-get-instruments 合約面值:ctVal,最小下單數量:minSz。九、instId的格式是什麼樣的? 您可以在該頁面,直接獲取交易產品基礎信息接口、獲取instId格式。十、怎麼設置止盈止損? 1、如果是下單附加止盈止損,可以參考下單接口:https://www.okx.com/docs-v5/zh/#order-book-trading-trade-post-place-order 的attachAlgoOrds數組參數。 2、如果是單獨下單止盈止損,可以參考策略委託接口:https://www.okx.com/docs-v5/zh/#order-book-trading-algo-trading-post-place-algo-order。
發佈於 2024年9月20日更新於 2026年4月15日136