Automated trading and analysis framework for Forex markets, featuring data collection, technical analysis, backtesting, and live trading capabilities.
- Automated Trading Bot: Modular bot for executing trades based on technical strategies.
- OANDA API Integration: Fetches real-time and historical data.
- Technical Analysis: Moving averages, MACD, RSI, and more.
- Backtesting & Simulation: Test strategies on historical data.
- Data Management: Efficient storage and retrieval of market data.
- Logging & Monitoring: Detailed logs for trades and errors.
- Jupyter Notebooks: Exploration and visualization tools for research and prototyping.
api/ # OANDA API integration
bot/ # Trading bot logic and managers
constants/ # Definitions and constants
data/ # Market data (pkl, json, etc.)
exploration/ # Jupyter notebooks for research
infrastructure/ # Data collection, logging, and utilities
logs/ # Log files
models/ # ML models or data models (if any)
simulation/ # Backtesting and simulation scripts
stream_example/ # Streaming data examples
technicals/ # Technical indicator implementations
main.py # Main entry point
run_bot.py # Script to run the trading bot
api_tests.py # API test scripts
README.md # Project documentation
- Python 3.8+
- pip
- Clone the repository:
git clone https://github.com/SpaciousFish/Forex-Algo.git
- Install dependencies:
(If
pip install -r requirements.txt
requirements.txtis missing, install packages as needed for pandas, numpy, requests, etc.)
- Update
constants/defs.pywith your OANDA API credentials and trading preferences.
python api_tests.pyCollect new data using:
python infrastructure/collect_data.pyExplore and analyze strategies in the exploration/ folder using Jupyter:
jupyter notebook exploration/- Logs are stored in the
logs/directory for debugging and monitoring.
MIT