Home / Trading bots
maudiaz221/DQN-Trading-Bot
Streamlit stock simulator using a bundled reinforcement-learning policy
What it is
A Streamlit page that replays one stock through a bundled reinforcement-learning policy and charts the path. The visitor supplies Alpaca credentials, a ticker, a date range, and a bar size; the app loads historical bars from Alpaca's paper API into a discrete environment with sell, hold, and buy actions. A stable-baselines3 DQN checkpoint shipped with the space is applied next, and the page plots price, shares, and portfolio value with buy and sell marks. Researchers inspecting that checkpoint on their own history are the audience: the run only simulates fills and never sends broker orders, and the space card says DDPG while the code loads a DQN file.
At a glance
Research onlyOur rating, based on popularity, maintenance and how ready it is for real use.
| Best for | Beginners |
|---|---|
| Used for | Strategy research, Backtesting |
| Markets | Crypto, Multi-market |
| Stack | Python |
| Learning curve | Easy to start |
| Practical value | Low practical value |
| Cost | Free and open source |
| Hardware | GPU optional |
GitHub stars, last 30 days
Daily snapshots since 2026-09-28 (up to 30 days): 0 over the period, now 0. Gaps mean no snapshot was taken that day.
· streamlit, region:us
Similar tools
Flexible Python backtesting framework for investment strategies
Python resources for trading simulation, backtesting, and ML
Backtest investment strategies in a few lines of Python
Code and notebooks for the book Python for Algorithmic Trading
Unmaintained vectorized pandas backtesting framework
Portable, performance-focused Python backtesting library