AthenaAI
๐ฆ AthenaAI is an AI-powered ensemble machine-learning trading bot for PocketOption, built on BinaryOptionsToolsV2 โ Get it on GitLab
๐ฌ Need help? Join the Chipa Discord ยท โก Go no-code with ChipaEditor
AthenaAI is an AI-powered trading bot for PocketOption. It combines a five-model machine-learning ensemble (plus an optional GPU-trained neural network) with adaptive expiry selection, market regime detection, layered signal gating, and disciplined money management. Model state persists across restarts, and the bot keeps learning online from every resolved trade.
Risk note: Binary options trading involves substantial risk of loss. AthenaAI is a tool, not a guarantee of profit โ past performance, including backtest and walk-forward results, does not guarantee future returns. Only trade with money you can afford to lose.
Start here
- Installation โ Python setup, dependencies, and the BinaryOptionsToolsV2 wheel.
- Quickstart โ from a fresh clone to a running bot in minutes.
- Configuration โ how the three configuration layers fit together.
Guides
Task-oriented walkthroughs for operating the bot:
- Architecture โ how all the pieces fit together, from candle stream to trade result.
- Live trading โ running the bot day to day and reading its logs.
- Training the brain โ offline training with
train.py, including GPU training. - Data formats โ supported candle CSV formats and where to get data.
- Risk management โ Kelly staking, loss limits, and cooldowns.
- Persistence โ the brain file, expiry stats, and the SQLite trade journal.
- GPU training โ CUDA/MPS setup and brain portability.
- Troubleshooting โ symptoms, causes, and fixes.
Concepts
Deep dives into how AthenaAI makes decisions:
- The ensemble โ five models (plus an optional MLP), vote weighting, and online learning.
- The feature engine โ all 40 core and 17 experimental features, documented individually.
- Regime detection โ trending, ranging, and volatile market classification.
- Expiry selection โ how the AI picks a trade duration.
- Adaptive strategy โ the self-tuning layer that blocks losing regimes, hours, and directions.
- Feature Lab โ automatic masking of non-predictive experimental features.
- Signal gates โ every check a signal must pass before a trade is placed.
Reference
Exhaustive, one-page-per-item reference material:
- Environment variables โ every
PO_*variable, one page each. - Trainer CLI โ every
train.pyflag, one page each. - Advanced configuration โ every
BotConfigfield without an environment variable, one page each. - API reference โ every module, class, and function in the codebase.
Requirements at a glance
| Requirement | Notes |
|---|---|
| Python | 3.9 or newer |
| numpy, scikit-learn | Installed via requirements.txt |
| BinaryOptionsToolsV2 | Installed manually from its release wheel |
| PyTorch (optional) | Enables the GPU neural model in training |
| PocketOption account | Session ID set via PO_SSID |
Level Up Your AthenaAI Setup
- ๐ฆ Get AthenaAI on GitLab โ โ clone the source, open issues, and contribute improvements.
- ๐ฌ Join the Chipa Discord โ โ get real-time support, share your results, and swap strategy ideas with other AthenaAI users.
- โก Try ChipaEditor โ โ build, backtest, and deploy trading strategies without writing a line of code, with our AI-powered strategy editor.