Convert trade
Execute a convert trade using a quoteId obtained from the estimate-quote endpoint before the quote expires.
Authentication
Base64-encoded HMAC-SHA256 signature of the prehash string.
ISO 8601 UTC timestamp, e.g. 2020-12-08T09:08:57.715Z.
Request
Quote ID returned by the estimate-quote endpoint.
Base currency, e.g. BTC in BTC-USDT.
Quote currency, e.g. USDT in BTC-USDT.
Trade side based on the base currency. buy: buy base currency; sell: sell base currency.
Client-supplied order ID. A combination of case-sensitive alphanumerics, all numbers, or all letters of up to 32 characters.
Order tag. A combination of case-sensitive alphanumerics, all numbers, or all letters of up to 16 characters.
Convert mode. 0: standard convert (default); 1: large order convert for VIP.
Response
Result code. 0 means success; any other value is an error code.

