Volume Market
A mode for building trading volume (for example, for an exchange VIP level or promotion conditions). The bot alternately opens long and short with a market order and closes the position on the next candle. The bot status shows the volume traded for the day, the month and in total.
⚠️ Every trade pays the exchange fee and the spread. Use it on liquid pairs and take fees into account.
Parameters
delay_bars- pause in candles between closing a position and the next entry (default 0)use_smart_close- smart close: enables the parameters belowtp_pct,sl_pct- close earlier on a profit or loss in % of the entry price. 0 - offmax_daily_loss_pct- stop trading until the end of the day (UTC) if the balance has dropped by more than the set % of the balance at the start of the day. 0 - offthreshold_profit- profit threshold. 1 - off. Above 1 (e.g. 1.01) - close only with a profit of at least 1%. Below 1 (e.g. 0.98) - do not close if the loss is more than 2%
Backtest the strategy on historical data in the tester and run it in hamster-bot.