Skip to content

Master Thesis for Computational Science in University of Vienna

Notifications You must be signed in to change notification settings

glarkstoat/RL-and-Cryptocurrencies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cryptocurrency Portfolio Management During A Market Crash Using Deep Reinforcement Learning

Master thesis for Computational Science (University of Vienna).

This work was inspired by the Paper "A Deep Reinforcement Learning Framework for the Financial Portfolio Management Problem" by Jiang et. al. Their source code can be found here.

In my work I implemented two trading agents using PPO and DDPG respectively, which managed a portfolio of 13 cryptocurrecies during the 2022 cryptocurrency market crash, while seeking to maximize the return and also seeking to outperform the popular benchmarks and trading strategies in portfolio management. The trading environment was built using Gym OpenAI, while the reinforcement learning models where built using Stable-Baselines3 and PyTorch.

Data

The data was collected using the CryptoCompare API, which provided the data for the most-traded cryptocurrencies from 2017-2022 with a temporal resolution of 60 minutes.

The cryptocurrency market experienced major crashes in 2018, 2021 and 2022.