🚨BREAKING: A new Python library for algorithmic trading.
Introducing TensorTrade: An open-source Python framework for trading using Reinforcement Learning (AI)
TensorTrade is an open source Python framework for building, training, evaluating, and deploying robust trading algorithms using reinforcement learning leveraging:
- numpy
- pandas
- gym
- keras
- tensorflow
Example: Using TensorTrade to Train and Evaluate with Reinforcement Learning
Step 1: Create training and evaluation sets
We'll start by creating a training and evaluation set as CSV files.
Step 2: Create a Configuration
Here we are using the config dictionary to store the CSV filename that we need to read.
Step 3: Initialize and run with Ray
Now it’s time to initialize and run Ray, passing all the parameters necessary, including the name of the environment creator function (create_env defined above).
Next Steps: Reward Agents
Reward Agents (AI) bring a new capability to allow Reinforcement Learning to integrate a reward system that allows the Agent to optimize the strategy to a reward (e.g. profit).
Performance:
Here's a performance chart of a reward-optimized example.
🚨 NEW WORKSHOP: How I built an automated algorithmic trading system with Python.
GS Quant is a Python toolkit for quantitative finance, created on top of one of the world’s most powerful risk transfer platforms.
2. Goals:
GS Quant is designed to accelerate the development of quantitative trading strategies and risk management solutions, crafted over 25 years of experience navigating global markets.
12 Python libraries for free market data everyone should know:
yfinance
Data for stocks (historic, intraday, fundamental), FX, crypto, and options. Uses Yahoo Finance so any data available through Yahoo is available through yfinance.
pandas-datareader used to be part of the pandas project. Now an independent project. Includes data for stocks, FX, economic indicators, Fama-French factors, and many others.
🚨BREAKING: A new Python library for algorithmic trading.
Introducing TensorTrade: An open-source Python framework for trading using Reinforcement Learning (AI)
TensorTrade is an open source Python framework for building, training, evaluating, and deploying robust trading algorithms using reinforcement learning leveraging:
- numpy
- pandas
- gym
- keras
- tensorflow
Example: Using TensorTrade to Train and Evaluate with Reinforcement Learning
Step 1: Create training and evaluation sets
We'll start by creating a training and evaluation set as CSV files.