The Zeus Strategy is a trading strategy implemented in Python. It is designed for backtesting and aims to maximize the average and mid profit in USDT. The strategy was developed by Masoud Azizi (@Mablue) and can be found on GitHub.
To run the strategy, you need to install the "TA" library using the command "pip install ta." The strategy utilizes various libraries such as pandas, talib, and freqtrade.
The Zeus Strategy involves the following components:
Buy Parameters:
"buy_cat": Categorical parameter that can take values ">R", "=R", or "
"buy_real": Decimal parameter ranging from 0.001 to 0.999 (default is 0.1802). Sell Parameters:
"sell_cat": Categorical parameter that can take values ">R", "=R", or "R"). "sell_real": Decimal parameter ranging from 0.001 to 0.999 (default is 0.1717). ROI (Return on Investment) Table:
Defines the ROI percentages at different time intervals. The table includes values at time intervals 0, 40, 216, and 437. Stoploss:
Specifies the stop-loss value, which is set at -0.226. The strategy also includes functions to populate indicators, buy trends, and sell trends based on the provided parameters. The "populate_indicators" function calculates technical analysis indicators such as Ichimoku Base Line (trend_ichimoku_base) and Know Sure Thing (trend_kst_diff). These indicators are used in the "populate_buy_trend" and "populate_sell_trend" functions to determine the buy and sell signals. The strategy uses the 4-hour timeframe for trading.