Skip to content

This repository contains my TensorTrade-focused code, including the core program and supplemental tools used in my bachelor's thesis on trading low market capitalization cryptocurrencies using reinforcement learning.

License

Notifications You must be signed in to change notification settings

StephanAkkerman/tensortrade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TensorTrade

Python 3.7 Code style: black MIT License


This is the reinforcement learning code I used for my thesis about how to trade low market capitulization cryptocurrencies.

Features

  • Fetches up to date historical data from Binance, using a custom script.
  • Plots a comparison of the reinforcement learning agent and simple trading strategies (see section Images for more info).
  • Some extras, such as an analysis of all TA indicators available for the TA library.

Dependencies

The required packages to run this code can be found in the requirements.txt file. To run this file, execute the following code block:

$ pip install -r requirements.txt 

Alternatively, you can install the required packages manually like this:

$ pip install <package>

How to run

  • Clone the repository
  • Run $ python src/main.py
  • See result

Images

Comparison

After testing the RL agent a graph is plotted, showing the net worth of the agent compared to the benchmarks. Image of benchmark

TACorrelation

Displays a heatmap of absolute correlation of technical analysis indicators in the same group. This is how the heatmap of trend indicators looks like.

Image of heatmap

About

This repository contains my TensorTrade-focused code, including the core program and supplemental tools used in my bachelor's thesis on trading low market capitalization cryptocurrencies using reinforcement learning.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages