POST
/api/v1/exchanges/:id/sell_all_to_usd
Permission: EXCHANGES_WRITESecurity: SIGNED
Sells all non-USD assets held on the exchange account into USD/stablecoins by placing market conversion orders directly on the exchange.
Important Execution Notice
When executing this request, all active trading entities (DCA bots, SmartTrades, deals, and open orders—except for Signal Bot) will be stopped and cancelled both in Quentrade and on the exchange.
Supported Exchanges
This endpoint is supported for: Binance Spot, Binance Margin, Binance US, Coinbase Advanced Spot, Gemini Spot, Kraken Spot, Bybit Spot, GateIo, OKX Spot, Huobi Spot, Bitfinex Spot, Kucoin Spot, Bitstamp Spot.
Path Parameters
idUUID string required
Unique Quentrade UUID of this exchange account entity.
Example Request
POSTPOST /api/v1/exchanges/7fa84b80-77a8-4e89-a292-123456789abc/sell_all_to_usd
Response Parameters
Liquidated Account Entity Structure
If successful, the response returns an updated copy of the Exchange Connection entity reflecting the liquidated assets and updated USD balances.
Example Responses
sell_to_usd_200.json
200 OK