The purpose of this repository is to provide a comprehensive collection of trading strategies based on technical analysis of Ethereum cryptocurrency. Each strategy is designed to analyze historical financial data and generate buy/sell signals based on various technical indicators. This repository is useful for traders, analysts, and researchers who want to explore, backtest, and compare different trading strategies.
In this repository, you will find the following trading strategies implemented with detailed explanations:
- AROON X-Cross: Generates signals based on the crossover of Aroon Up and Aroon Down indicators.
- AROON Y-Cross: Uses a threshold level to generate signals when Aroon indicators cross specified levels.
- Generates signals based on price interactions with Bollinger Bands, including the middle band (SMA) and upper/lower bands.
- CCI with Level Cross: Uses the CCI indicator to generate signals when crossing a specified level.
- CCI and SMA: Combines CCI and Simple Moving Average (SMA) for signal generation.
- Combines HMA with a tether line based on the highest and lowest prices over a specified period.
- Uses Ichimoku Cloud components such as conversion line, base line, and span lines to generate signals.
- Generates signals based on the relationship between the closing price and KAMA.
- Keltner Channel: Generates signals based on price interactions with Keltner Channel bands.
- Keltner Channel Breakout: Focuses on breakouts above or below the Keltner Channel bands.
- Uses the Moving Average Convergence Divergence (MACD) indicator to generate signals based on the MACD line and signal line crossovers.
- Combines OBV with its Exponential Moving Average (EMA) to generate signals based on volume trends.
- Uses the Stochastic Oscillator and its moving average to generate signals based on momentum.
- Generates signals based on the Parabolic SAR indicator, which tracks price reversals.
- Uses the Williams %R indicator to generate signals based on overbought and oversold conditions.
Analyzes all the aforementioned strategies using training, validation, and testing datasets. This notebook serves as the initial step in the strategy development process, providing a comprehensive analysis of each strategy's performance.
Further analyzes the best performing strategies identified in the All_strategies notebook. This notebook focuses on fine-tuning and optimizing the parameters of these strategies to enhance their performance.
Creates a unique portfolio comprising the best performing strategies with optimized parameters. This notebook uses out-of-sample data to evaluate performance and risk metrics, comparing the portfolio to a buy-and-hold portfolio. Backtesting is conducted using a rolling window approach to ensure robustness and reliability of the results.
These two files automate the identification of trade signals and execution of trades using various trading strategies via the Interactive Brokers (IB) API. The key components include functions for signal generation based on strategies such as Aroon X-Cross, Aroon Y-Cross, On-Balance Volume (OBV), Kaufman's Adaptive Moving Average (KAMA), Stochastic Oscillator, and Parabolic SAR. Additionally, files contain trade execution functions for each strategy, ensuring trades are placed with proper risk management through stop-loss and take-profit orders and the strategy runs daily at market open.