I noticed there’s precision loss in the orderId I get. When placing orders and querying them via the SDK, Gate’s orderId is a very large number, so precision gets lost and the orderId becomes incorrect, which makes it impossible to cancel the order.
https://www.gate.com/docs/developers/apiv4/en/#create-price-triggered-order-2
https://www.gate.com/docs/developers/apiv4/en/#query-auto-order-list
https://www.gate.com/docs/developers/apiv4/en/#cancel-single-auto-order-2
I noticed there’s precision loss in the orderId I get. When placing orders and querying them via the SDK, Gate’s orderId is a very large number, so precision gets lost and the orderId becomes incorrect, which makes it impossible to cancel the order.
https://www.gate.com/docs/developers/apiv4/en/#create-price-triggered-order-2
https://www.gate.com/docs/developers/apiv4/en/#query-auto-order-list
https://www.gate.com/docs/developers/apiv4/en/#cancel-single-auto-order-2