To add a strategy, you need to add it in the source code. Strategies are written in Java programming languages.
Alis has a few prebuilt strategies as examples.
To view current trading signals for a strategy:
Navigate to Trading → Strategies → Signals
Select the strategy, specify the start time, and click Show signals.
To replay the strategy for your portfolio, check the Show signals for portfolio option.
To backtest a trading strategy:
Navigate to Trading → Strategies → Backtest.
From the left-hand menu, select the strategy and configure parameters (e.g., time period, commission rate).
Click Start to begin the backtest.
At the end of the backtest you should see a screen similar to this:
To save the results, click Export trades to CSV for use in further analysis (for example, data mining).
Alis calculates the significance of portfolio drawdowns using a power-law distribution. To view drawdown analysis:
Click the button Drawdown check.
Review the results displayed.
To evaluate your strategy against random trading:
Click Compare to random.
Specify the number of iterations (recommended: 10 times the number of iterations used during optimization).
• Ideal outcome: "RandomStrategy achieved better results 0 times."
• A high number indicates a lack of edge in your strategy.
• A low number (but above zero) may suggest over-optimization.
To optimize a trading strategy:
Navigate to Trading → Strategies → Optimization.
Select the strategy to optimize and configure parameters (e.g., start/end time, commission rate, initial capital).
Runs the strategy once per parameter set (default, but sensitive to historical data and start time).
Executes only 50% of orders randomly during each backtest iteration, repeating multiple times and taking the median result. This increases robustness but extends computation time.
Creates variations of the original data by randomly removing markets with 50% probability, then repeats the backtest for each variation and takes the median result. This also improves out-of-sample performance prediction but requires more time.
Select the number of iterations and click Start to begin optimization.
During the process, results will start to appear: