Description: Sells all assets on the exchange account in BTC, creating orders on the exchange
Permission: ACCOUNTS_WRITE
Security: SIGNED
This endpoint works for the following exchanges: 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
POST
/ver1/accounts/{account_id}/sell_all_to_btc
When executing this request, all trading entities (bots, SmartTrade, trades, deals, orders, exception Signal Bot) will be stop and close at the 3Commas and the exchange
Path Parameters
account_idintegerrequired
Unique 3Commas ID for this exchange account entity
Response Parameters
If successful, the response includes a copy of the updated Account entity.