The Zeus Strategy is a trading strategy designed for backtesting on a trading platform. Here is a brief description of what the strategy does:
The strategy is the first generation of the GodStra Strategy, developed by Masoud Azizi (@Mablue) and can be found on GitHub. It requires the installation of the "ta" library before running.
The strategy uses the "4h" timeframe for trading.
It makes use of technical indicators such as the Ichimoku Base Line and the Know Sure Thing (KST) Indicator.
The strategy defines buy and sell parameters as hyperparameters that can be optimized during backtesting. The buy parameters include a categorical parameter ("buy_cat") and a real parameter ("buy_real"). The sell parameters include a categorical parameter ("sell_cat") and a real parameter ("sell_real"). The strategy sets a minimal return on investment (ROI) table, specifying different levels of ROI at different time intervals. It also defines a stop-loss value to limit potential losses. The strategy implements functions to populate indicators, buy conditions, and sell conditions based on the defined parameters. The populate_indicators function calculates the Ichimoku Base Line and the KST Indicator and normalizes their values. The populate_buy_trend function applies the buy conditions based on the buy parameters and the calculated indicators. The populate_sell_trend function applies the sell conditions based on the sell parameters and the calculated indicators. Overall, the Zeus Strategy aims to generate profits by identifying buying and selling opportunities based on the selected technical indicators and the defined parameters.