Skip to content
Projetos

ThibautTheate/An-Application-of-Deep-Reinforcement-Learning-to-Algorithmic-Trading

Ver no GitHub

Sobre

Experimental code supporting the results presented in the scientific research paper entitled "An Application of Deep Reinforcement Learning to Algorithmic Trading"

Ciência e engenharia

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

An Application of Deep Reinforcement Learning to Algorithmic Trading

Experimental code supporting the results presented in the scientific research paper:

Thibaut Théate and Damien Ernst. "An Application of Deep Reinforcement Learning to Algorithmic Trading." (2020). [arxiv]

Dependencies

The dependencies are listed in the text file "requirements.txt":

  • Python 3.7.4
  • Pytorch 1.5.0
  • Tensorboard
  • Gym
  • Numpy
  • Pandas
  • Matplotlib
  • Scipy
  • Seaborn
  • Statsmodels
  • Requests
  • Pandas-datareader
  • TQDM
  • Tabulate

Usage

Simulating (training and testing) a chosen supported algorithmic trading strategy on a chosen supported stock is performed by running the following command:

python main.py -strategy STRATEGY -stock STOCK

with:

  • STRATEGY being the name of the trading strategy (by default TDQN),
  • STOCK being the name of the stock (by default Apple).

The performance of this algorithmic trading policy will be automatically displayed in the terminal, and some graphs will be generated and stored in the folder named "Figures".

Citation

If you make use of this experimental code, please cite the associated research paper:

@inproceedings{Theate2020,
  title={An Aplication of Deep Reinforcement Learning to Algorithmic Trading},
  author={Theate, Thibaut and Ernst, Damien},
  year={2020}
}

Explore projetos relacionados

Carregando…