/Pair-Trading-with-Reinforcement-Learning

This repo contains the code for the reinforcement learning course project https://github.com/cuhkrlcourse

Primary LanguagePython

Pair-Trading-with-Reinforcement-Learning

Requirements

Usage

python train.py --algo PPO --log-dir data/PPO_gamma_1 --input-length 10

Tensorboard visualization:

tensorboard --logdir=data/PPO_gamma_1/runs/ --port={port_num}

Note that all the experiments above will save the tensorboard log file in data/PPO_gamma_1/runs/ directory