Skip to content

Latest commit

 

History

History
111 lines (74 loc) · 3.78 KB

File metadata and controls

111 lines (74 loc) · 3.78 KB

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