

To set the compensating rebalancing and main chain linking backtest with a 1-minute cycle, you need to adjust your strategy's parameters when configuring it for execution. Here are the steps:
Init Function: Within your init function, ensure that there is no specific logic related to rebalancing or time periods here as these actions should be performed within the handle_bar method instead.
Handle Bar Method: In your handle_bar method, you can control when rebalancing occurs based on your strategy's logic. You might consider implementing conditions that trigger rebalancing only at specific times (like 1-minute intervals).
Setting Backtest Parameters:
bar_count=60 if assuming every bar represents 1 minute).Running Backtest: After configuring your parameters and strategies accordingly, execute the backtest by clicking on "Start Backtest". Your system will then process the historical data according to your defined rules (including rebalancing logic) at a 1-minute frequency.
If you need help with specific coding details or have an existing code snippet that requires adjustments for these requirements, provide more information and I'll guide you through it.
The image reference you provided seems to be missing, but typically the UI elements would allow for setting up backtests by configuring start/end dates, selecting symbols, defining rebalancing rules, and choosing execution frequency. Ensure your strategy logic in handle_bar method is designed to meet these requirements based on your trading indicators and risk management criteria.