Skip to main content

Trading Bot API

Manage automated trading bots including DCA (Dollar-Cost Averaging), TWAP (Time-Weighted Average Price), GRID, and Funding Arbitrage strategies.

Bot Types

TypeDescription
DCADollar-Cost Averaging - automatically buys or sells at regular intervals over a preset time frame
TWAPTime-Weighted Average Price - executes large orders by splitting them into smaller slices over a defined time window
GRIDGrid Trading - automatically places buy and sell orders within a defined price range
FUNDING_ARBITRAGEFunding Arbitrage - simultaneously holds a spot position and an opposing perpetual swap position to capture funding rate income

Bot States

StateDescription
RUNNINGBot is actively placing orders
PAUSEDBot is paused, no new orders will be placed
TERMINATEDBot has been terminated