Skip to content

An open source reinforcement learning framework for training, evaluating, and deploying robust trading agents.

License

Notifications You must be signed in to change notification settings

Ali-hey-0/TensorTrade-with-Reinforcement-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

25d2a46 Β· Mar 11, 2025

History

1 Commit
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025
Mar 11, 2025

Repository files navigation

TensorTrade πŸš€

Build Status Documentation Status Apache License Discord Python 3.11

Trade Smarter with Reinforcement Learning πŸ“ˆ

Documentation | Examples | Contributing | Discord

🌟 Overview

TensorTrade is a powerful open-source Python framework for building, training, evaluating, and deploying robust trading algorithms using reinforcement learning. Currently in Beta (v1.0.4-dev1), it combines cutting-edge machine learning with algorithmic trading to create sophisticated trading strategies.

🎯 Key Features

  • Highly Composable: Build complex strategies from simple, reusable components
  • Production Ready: Scale from single CPU to distributed HPC environments
  • ML Integration: Seamless integration with popular ML libraries (numpy, pandas, gym, keras, tensorflow)
  • Fast Experimentation: Rapid prototyping and testing of trading strategies
  • Community Driven: Growing ecosystem of community-built components

πŸš€ Quick Start

Prerequisites

  • Python >= 3.11.9
  • pip package manager

Installation Options

# Option 1: Install from PyPI (Stable)
pip install tensortrade

# Option 2: Install latest from GitHub (Development)
pip install git+https://github.com/tensortrade-org/tensortrade.git

# Option 3: Install with all dependencies for examples
pip install -r requirements.txt
pip install -r examples/requirements.txt

🐳 Docker Support

# Run Jupyter Notebooks
make run-notebook

# Build Documentation
make run-docs

# Run Test Suite
make run-tests

🎯 Guiding Principles

  1. User-Friendly: Designed for humans with consistent & simple APIs
  2. Modular: Plug-and-play components for maximum flexibility
  3. Extensible: Easy to add new modules and customize existing ones

πŸ“š Core Components

  • Exchanges: Connect to various trading platforms
  • Feature Pipelines: Process and transform market data
  • Action Schemes: Define trading actions and strategies
  • Reward Schemes: Customize performance metrics
  • Trading Agents: Implement learning algorithms
  • Performance Reports: Track and analyze results

🀝 Community & Support

πŸ‘₯ Maintainers

🌟 Contributors

⚠️ Beta Status Notice

TensorTrade is currently in Beta. While suitable for experimentation and research, use in production environments should be approached with caution.

πŸ“„ License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.


Built with ❀️ by the TensorTrade community

About

An open source reinforcement learning framework for training, evaluating, and deploying robust trading agents.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages