This optional parameter determines if the bot will immediately start or get triggered when the market price reaches the triggering price.
Params 1, 2, 3, 4, 5, 10 determines the grid structure.
neutralstrategy, the bot will start without any positionFor
Longstrategy, the bot will start will a long position proportional to the grid setupFor
Shortstrategy, the bot will start will a short position proportional to the grid setup
The bot will place sell orders above the market price and buy orders below the market price.
As the market moves, certain orders will get filled and new orders will be placed accordingly.
This is another optional parameter that allows bot to stop itself when the price drops below the lower stop limit or when the price goes above the upper stop limit.
Manually stop the bot operations when desired. All the potions and open orders will remain untouched. But bot won't create new orders.
This is a manual process to close bot completely in 4 separate steps:
- 1.Close open orders and redeem market making rewards
- 2.Settle PnL (Profit and Loss)
- 3.Withdraw from mango
- 4.Withdraw from bot
Long: the bot starts with long position and then executes grid buy and sell trades, ideal for trending and volatile bull markets
Short: the bot starts with short position and then executes grid buy and sell trades, ideal for trending and volatile bear markets
Neutral: the bot starts with no position and then executes grid buy and sell trades, ideal for range-bound markets without clear directions
Enhanced Neutral: similar to neutral bot but clears any long or short position every 6 hours, ideal for volatile markets without clear directions
grid_quantity = total_investment / sum(prices)
grid_interval = (grid_upper_limit - grid_lower_limit) / grid_count
profit_per_grid = grid_interval * grid_quantity + rebate