CLI
price 必須是正小數字串,訂單 ID 長度必須為 1 至 128 個字元。
HTTP
price。
回應
成功時返回 HTTP202。data 包含 order_id 和 accepted。accepted: true 只確認修改請求已接受,不代表訂單已進入最終狀態;請之後查詢訂單詳情。
可能的操作錯誤包括 order_not_found、order_not_modifiable 和券商拒絕。Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
請求修改現有訂單的價格。
tqx trading orders modify <order-id> --price=<positive-price> --json
price 必須是正小數字串,訂單 ID 長度必須為 1 至 128 個字元。
curl --request PATCH \
--url 'https://www.tqx.trade/openapi/v1/trading/orders/<order-id>' \
--header "X-API-Key: $TQX_API_KEY" \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{"price":"350.00"}'
price。
202。data 包含 order_id 和 accepted。accepted: true 只確認修改請求已接受,不代表訂單已進入最終狀態;請之後查詢訂單詳情。
可能的操作錯誤包括 order_not_found、order_not_modifiable 和券商拒絕。