Instructions to use rezvan98/trading-agent-rl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- stable-baselines3
How to use rezvan98/trading-agent-rl with stable-baselines3:
from huggingface_sb3 import load_from_hub checkpoint = load_from_hub( repo_id="rezvan98/trading-agent-rl", filename="{MODEL FILENAME}.zip", ) - Notebooks
- Google Colab
- Kaggle
Trading Agent RL
Kaggle-trained PPO, SAC, and A2C ensemble for AAPL. The Hugging Face Space at https://huggingface.co/spaces/rezvan98/trading-dashboard reads these artifacts and runs CPU inference for live model signals.
Latest Kaggle Run
- Timesteps per agent: 30,000
- Device: CPU
- Train period: 2018-01-01 to 2023-12-31
- Test period: 2024-01-01 to 2025-12-31
| Metric | Value |
|---|---|
| Total Return | 2.74% |
| Sharpe | -1.219 |
| Max Drawdown | -2.03% |
| SPY Benchmark Return | 48.95% |
Artifacts
models/ppo_final.zipmodels/sac_final.zipmodels/a2c_final.zipmodels/ensemble_weights.jsondata/feature_schema.jsondata/backtest_results.csvdata/trade_log.csvreport/metrics.json
Research and paper trading only. Not financial advice.
- Downloads last month
- 228