Grid Bot
Grid Bot entities are designed to automate trading strategies by executing a series of buy and sell orders within predefined price ranges. They allow users to take advantage of market fluctuations while minimizing manual intervention.
Grid Bot entities hold information such as:
Configuration details for the bot, including the trading pair, strategy type, and grid settings;
Performance metrics like current profit, total profits, and investment amounts in base and quote currencies;
Status indicators, such as whether the bot is enabled or disabled and whether stop-loss actions are set.
3Commas offers a range of tools to create new Grid Bots, manage their settings, and analyze their performance effectively.
Attributesid
integer
Unique 3Commas ID for this Grid Bot entityaccount_id
integer
Unique 3Commas ID of this exchange account entity where this Grid Bot was createdaccount_name
string
The name for the exchange account defined by the useris_enabled
boolean
Indicates if the Grid Bot is enabledgrids_quantity
string
Number of grid lines set in the bot configurationcreated_at
string
ISO 8601 datetime string of when this Grid Bot was createdupdated_at
string
ISO 8601 datetime string of when this Grid Bot was last updatedstrategy_type
string
Strategy type for the bot (e.g., manual)upper_stop_loss_enabled
boolean
Shows if the upper stop-loss is enabledlower_stop_loss_enabled
boolean
Shows if the lower stop-loss is enablednote
string
Optional user-defined note about the Grid Boteditable
boolean
Indicates if the bot configuration can be editedlower_price
string
Lower price limit for the Grid Botlower_stop_loss_price
string
Lower stop-loss price, if setlower_stop_loss_action
string
Action to take if the lower stop-loss is triggered (e.g., stop_bot)upper_price
string
Upper price limit for the Grid Botupper_stop_loss_price
string
Upper stop-loss price, if setupper_stop_loss_action
string
Action to take if the upper stop-loss is triggered (e.g., stop_bot)quantity_per_grid
string
Quantity of the asset per grid lineleverage_type
string
Shows the leverage type that was set when creating a Grid Bot (e.g., cross)leverage_custom_value
string
Custom leverage value set for the Grid Botname
string
Name of the Grid Botpair
string
Trading pair in 3Commas format for the botstart_price
string
Starting price of the asset when the bot was createdgrid_price_step
string
Price step value between each grid linecurrent_profit
string
Current profit in base currencycurrent_profit_usd
string
Current profit in USDtotal_profits_count
string
Total number of profitable transactionsprofit_percentage
string
Percentage profit relative to the starting investmentcurrent_price
string
Current price of the trading pairmax_active_buy_lines
string
Maximum number of active buy orders allowedmax_active_sell_lines
string
Maximum number of active sell orders allowedorder_currency_type
string
Currency type used for orders (e.g., quote)profit_currency_type
string
Currency type used for profit calculation (e.g., quote)trailing_up_enabled
boolean
Shows if the trailing-up feature is enabledgrid_type
string
Type of grid used (e.g., `geometric`)investment_base_currency
string
Investment amount in the base currencyinvestment_quote_currency
string
Investment amount in the quote currencyunrealized_profit_loss
string
Unrealized profit or loss in base currencycurrent_profit_loss
string
Current profit or loss in base currencycurrent_profit_loss_percent
string
Percentage of current profit or lossorderbook_price_currency
string
Currency used for the order book priceexpansion_down_enabled
boolean
Shows if the grid expansion downwards is enabledexpansion_down_stop_price
string
Stop price for downward expansion, if setgrid_lines
object
An array of grid line orders associated with this Grid Botid
integer
ID of the Grid Line entityprice
string
Price value of this grid lineside
string
The order side for this grid line (e.g., `buy` or `sell`)order_placed
boolean
Indicates if the order for this grid line has been placed
Last updated
Was this helpful?