# pskrunner14/trading-bot

Stock Trading Bot using Deep Q-Learning

Repository: https://github.com/pskrunner14/trading-bot
Canonical: https://ross.abutalabs.com/products/trading-bot
Language: Jupyter Notebook
License: MIT
License Family: permissive
Topics: stock-price-prediction, stock-trading, ai-agents, reinforcement-learning, q-learning, deep-q-learning, stock-trading-bot, trading-bot, trading-algorithms
Last push: 2023-12-03T13:06:25+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2942, "days_push": 1004, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1175, forks 356 (observed 2026-08-28T04:03:52.390364+00:00)

## What it is
A stock trading bot that uses Deep Q-Learning reinforcement learning to learn buy/sell/hold policies from historical stock price data. It is a simple, educational implementation of DQN variants (vanilla, fixed target, double DQN) intended for learning purposes.

## Use cases
- learn deep q-learning by example
- train a reinforcement learning agent on stock data
- experiment with DQN variants on trading tasks
- backtest a simple trading strategy
- visualize RL agent trading episodes
- understand how RL applies to financial markets

## When to choose
- you want a minimal, readable DQN implementation for learning
- you need a starting point for RL-based trading experiments
- you want to reproduce results from a DQN trading paper

## When to avoid
- you need production-grade algorithmic trading with real broker integration
- you require portfolio optimization or position sizing
- you need reliable profit generation - results are educational only

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: machine-learning, reinforcement-learning, trading
- domain: reinforcement-learning, fintech, machine-learning, education
- platform: python, cli
- tags: deep-q-learning, trading-bot, q-learning, stock-trading, educational, jupyter-notebook

## Member repositories
- pskrunner14/trading-bot (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:52.390364+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:28:14.208152+00:00, confidence not recorded.
  - readme: https://github.com/pskrunner14/trading-bot (fetched 2026-08-28T04:03:52.390364+00:00, sha 22890085a581)
- Data as of 2026-08-30T08:39:29.467469+00:00.
