tensortrade-extras
tensortrade-extras copied to clipboard
Discover a curated list of projects complementing TensorTrade, distinct from those mentioned in its official documentation. Contributions are welcome; if you spot a missing project, please submit a pu...
Technical Analysis
TA-lib, for more technical analysis compared to ta library.
https://github.com/mrjbq7/ta-lib
Pandas Technical Analysis (Pandas TA) is an easy to use library that leverages the Pandas library with more than 130 Indicators and Utility functions.
https://github.com/twopirllc/pandas-ta
Unofficial TradingView technical analysis API wrapper.
https://github.com/brian-the-dev/python-tradingview-ta
Renderers
Tensortrade_dashboard, to visualize trades in simulation runs.
https://github.com/mitcheccles/tensortrade_dashboard
WalletPlotlyTradingChart, extended versus PlotlyTradingChart() in ability to generate chart specific for particular exchange/quote_currency.
https://github.com/AlexQuant62/test01/blob/main/WalletPlotlyTradingChart.py
Analysis
Quantstats, a Python library that performs portfolio profiling, allowing quants and portfolio managers to understand their performance better by providing them with in-depth analytics and risk metrics.
https://github.com/ranaroussi/quantstats
SHAP (SHapley Additive exPlanations) is a game theoretic approach to explain the output of any machine learning model.
https://github.com/slundberg/shap
Backtest trading strategies with Python.
https://github.com/kernc/backtesting.py/
Visualizer for pandas data structures.
https://github.com/man-group/dtale
TensorBoard for visualizing results.
https://github.com/tensorflow/tensorboard
Use W&B to organize and analyze machine learning experiments. It's framework-agnostic and lighter than TensorBoard.
https://github.com/wandb/client
Live Trading
A JavaScript / Python / PHP library for cryptocurrency trading and e-commerce with support for many bitcoin/ether/altcoin exchange markets and merchant APIs.
https://github.com/ccxt/ccxt
This is an unofficial Python wrapper for the Binance exchange REST API v3.
https://github.com/sammchardy/python-binance
An unofficial Python API to use the Binance Websocket APIs.
https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api
The unofficial Python client for the Coinbase Pro API.
https://github.com/danpaquin/coinbasepro-python
Reward calculation
Differential Sharpe Ratio (DSR) calculation.
https://github.com/AchillesJJ/DSR
Data
My simple script for fetching data, using the Binance API. There are more time frames possible compared to data of CryptoDataDownload.
https://github.com/StephanAkkerman/BinanceData
My newer script for fetching data, using ccxt instead of Binance API to use more exchanges. It works the same as BinanceData, but supports more exchanges.
https://github.com/StephanAkkerman/Crypto_OHLCV
Official Binance repo for getting their public data.
https://github.com/binance/binance-public-data
A Python 3 script to harvest data from the Binance socket stream and calculate popular TA indicators and produce lists of top trending coins storing data in an SQLite3 database for use by algorithmic and bot traders.
https://github.com/declasm/binance_harvester
Ray
Custom stopping mechanisms to stop trials early.
https://docs.ray.io/en/master/tune/api_docs/stoppers.html
Example of how to use custom metrics.
https://github.com/ray-project/ray/blob/master/rllib/examples/custom_metrics_and_callbacks.py
Trial Schedulers can early terminate bad trials, pause trials, clone trials, and alter hyperparameters of a running trial.
https://docs.ray.io/en/master/tune/api_docs/schedulers.html
Tune’s Search Algorithms are wrappers around open-source optimization libraries for efficient hyperparameter selection.
https://docs.ray.io/en/master/tune/api_docs/suggestion.html
Customizing Exploration Behavior.
https://docs.ray.io/en/master/rllib-training.html#customizing-exploration-behavior
Curiosity plugin as exploration behavior.
https://docs.ray.io/en/master/rllib-algorithms.html#curiosity
Stocks
Yahoo! Finance market data downloader, if you want to train your model on stock data.
https://github.com/ranaroussi/yfinance
Python client for Alpaca's trade API.
https://github.com/alpacahq/alpaca-trade-api-python
A python wrapper for Alpha Vantage API for financial data.
https://github.com/RomelTorres/alpha_vantage
Examples
My own example, including benchmarks to compare net worth performance, and fetching data from Binance. https://github.com/StephanAkkerman/TensorTrade/blob/main/TT_v4.py
Zhivko's examples, including implementation of training and evaluation environments in after.py.
https://github.com/zhivko/tensortrade/tree/master/examples/myexample
Kodiak's notebook example, including implementation of feature correlation and Optuna search algorithm.
https://colab.research.google.com/drive/1N0gZhsiXT7vwHN__FoX8an-AqxJDSfak
Msrparadesi's notebook example with SageMaker Studio.
https://github.com/msrparadesi/tensortrade/blob/master/examples/TensorTrade_on_SageMaker_Studio.ipynb
Matthew Brulhardt's simple example how to trade on a basic sine curve using TensorTrade and Ray.
https://github.com/mwbrulhardt/simple-sine-curve
Matthew Brulhardt's example for making highly customized environments in TensorTrade.
https://github.com/mwbrulhardt/penv
Research
Part one of 8ball030's research of technical analysis indicators.
https://github.com/8ball030/FTXIndicators
Part two of 8ball030's research of technical analysis indicators.
https://github.com/8ball030/indicator_part_2
List of code, papers, and resources for AI/deep learning/machine learning/neural networks applied to algorithmic trading.
https://github.com/cbailes/awesome-deep-trading
List of portfolio management resources, using Reinforcement Learning.
https://github.com/Draichi/Portfolio-Management-list