Quay lại Trending
Modelreinforcement-learning
AdityaaXD

AdityaaXD/Multi-Agent_Reinforcement_Learning_Trading_System_Models

🤖 Multi-Agent Reinforcement Learning Trading System This repository contains trained Deep Reinforcement Learning agents for automated stock trading. The agents were trained using stable-baselines3 on a custom OpenAI Gym environment simulating the U...

41thích
125tải xuống
1lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: dqn

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: a2c

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: stock-trading

#1 Repository của tuần

🤖 Multi-Agent Reinforcement Learning Trading System

This repository contains trained Deep Reinforcement Learning agents for automated stock trading. The agents were trained using stable-baselines3 on a custom OpenAI Gym environment simulating the US Stock Market (AAPL, MSFT, GOOGL).

🧠 Models

The following algorithms were used:

  1. DQN (Deep Q-Network): Off-policy RL algorithm suitable for discrete action spaces.
  2. PPO (Proximal Policy Optimization): On-policy gradient method known for stability.
  3. A2C (Advantage Actor-Critic): Synchronous deterministic policy gradient method.
  4. Ensemble: A meta-voter that takes the majority decision from the above three.

🏋️ Training Data

The models were trained on technical indicators derived from historical daily price data (2018-2024):

  • Returns: Daily percentage change.
  • RSI (14): Relative Strength Index.
  • MACD: Moving Average Convergence Divergence.
  • Bollinger Bands: Volatility measure.
  • Volume Ratio: Relative volume intensity.
  • Market Regime: Bull/Bear trend classification.

🎮 Environment (TradingEnv)

  • Action Space: Discrete(3) - 0: HOLD, 1: BUY, 2: SELL.
  • Observation Space: Box(10,) - Normalized technical features + portfolio state.
  • Reward: Profit & Loss (PnL) minus transaction costs and drawdown penalties.

🚀 Usage

import gymnasium as gym
from stable_baselines3 import PPO

# Load the environment (custom wrapper required)
# env = TradingEnv(df)

# Load model
model = PPO.load("ppo_AAPL.zip")

# Predict
action, _ = model.predict(obs, deterministic=True)

📈 Performance

Performance varies by ticker and market condition. See the generated results/ CSVs for detailed Sharpe Ratios and Max Drawdown stats per agent.

🛠️ Credits

Developed by Adityaraj Suman as part of the Multi-Agent RL Trading System project.

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
sweetice/Deep-reinforcement-learning-with-pytorch

PyTorch implementation of DQN, AC, ACER, A2C, A3C, PG, DDPG, TRPO, PPO, SAC, TD3 and ....

4.6k
Mar 24, 2023
RepositoryPython
kengz/SLM-Lab

Modular Deep Reinforcement Learning framework in PyTorch. Companion library of the book "Foundations of Deep Reinforcement Learning".

1.4k
Nov 30, 2026
RepositoryJupyter Notebook
AI4Finance-Foundation/FinRL

FinRL®: Financial Reinforcement Learning. 🔥

17.2k
Nov 27, 2026
Modelreinforcement-learning
Adilbai/stock-trading-rl-agent

🚀 Stock Trading RL Agent - Advanced PPO Implementation !Python(https://img.shields.io/badge/python-3.8+-blue.svg) !Stable-Baselines3(https://img.shields.io/badge/stable--baselines3-2.0+-green.svg) !License(https://img.shields.io/badge/license-MIT-b...

♥0
95
Jan 8, 2026
Modeltext-classification
convaiinnovations/laya

Laya Laya is an open-source, non-autoregressive System 1 decision model: give it a state (text, email, ticket, or JSON document) and typed questions, and it returns typed answers with mathematically calibrated probabilities and confidence scores. It...

♥0
17.1k
Oct 3, 2026
RepositoryJupyter Notebook
AI4Finance-Foundation/FinGPT

FinGPT: Open-Source Financial Large Language Models! Revolutionize 🔥 We release the trained model on HuggingFace.

21.7k
Nov 18, 2026
RepositoryC#
Unity-Technologies/ml-agents

The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.

19.9k
Nov 25, 2026
RepositoryHTML
kmario23/deep-learning-drizzle

Drench yourself in Deep Learning, Reinforcement Learning, Machine Learning, Computer Vision, and NLP by learning from these exciting lectures!!

13.0k
Aug 22, 2026
RepositoryPython
thu-ml/tianshou

An elegant PyTorch deep reinforcement learning library.

11.1k
Dec 1, 2026