๐ค AI-DOT: Artificial Intelligence Driven Options Trading Bot
AI-DOT is an intelligent options trading bot developed using Artificial Neural Networks (ANN) and Recurrent Neural Networks (RNN) . It automatically analyzes options data, generates call/put buy/sell signals, and integrates with broker APIs for real-time execution. This project demonstrates the full pipeline from data acquisition to model training, evaluation, signal generation, and live deployment.
๐ Read the Full Report (PDF)
๐ฆ Dataset & Features
Data Source : yFinance
Scope :
Historical stock prices
Option chain data (call/put)
Implied volatility, open interest
Preprocessing :
Handling NaNs and outliers (Box & Line plots)
Short/long moving averages
StandardScaler normalization
Feature Types :
Technical Indicators (MA, volatility, price patterns)
Derived options data (IV, call/put ratios)
โ๏ธ Modeling Approach
Algorithms Used :
ANN: For regression-based price prediction
RNN (LSTM): To capture temporal patterns
Architecture :
Dense layers with ReLU activation
Regularization: L1/L2
Optimizer: Adam (lr=0.0001)
EarlyStopping & ReduceLROnPlateau used
Training Details :
Epochs: 600 (ANN), 200 (RNN)
Loss: MAE, RMSE
๐ Model Evaluation
Model MAE RMSE ANN 0.37 0.47 RNN 1.18 1.58
ANN outperformed RNN in both accuracy and consistency. RNN showed stable learning but struggled with prediction precision.
๐ Learning Curve
Training and validation loss decreased smoothly with no overfitting observed.
๐น Trading Signal Generation
The trained models were used to generate trading signals:
Green : Buy Call Signal
Red : Buy Put Signal
Signals were overlaid on live price charts for intuitive visualization and backtesting.
๐งช Testing Workflow
Test Stage Status Data preprocessing and cleaning โ
Passed ANN & RNN Model training โ
Passed Model validation with MAE & RMSE โ
Passed Prediction histogram and alignment โ
Passed Signal generation from model outputs โ
Passed Visual verification of trading points โ
Passed
๐ง Key Insights
ANN provided more precise and stable predictions than RNN.
Both models generalized well on unseen data with minimal overfitting.
Buy/sell signal alignment with price trends confirmed model robustness.
Visual inspection helped refine strategies and filter noise.
๐ Future Scope
Integrate live news sentiment analysis to enhance prediction accuracy.
Expand models using hybrid CNN-RNN or Transformer-based architectures.
Deploy a Streamlit or Flask-based dashboard with real-time brokerage execution.
Enable multi-asset support (index options, forex derivatives, etc.)
๐ Citation
Malaviya, A., Dhumale, N., Kotian, N., & Vala, J. (2024). AI-DOT: Artificial Intelligence Driven Options Trading Bot . Shah and Anchor Kutchhi Engineering College.
Full Report PDF
๐ Resources