Code Monkey home page Code Monkey logo

cs-337-project's Introduction

CS-337-project

This repository contains the code for our CS 337 project - Deep Ensemble Reinforcement Learning for Adaptive Trading. The team members are: Shubham Hazra (210100143), Om Godage (21d100006) and Vijay Balsubramaniam (21d180043). The project focuses on the application of Deep Reinforcement Learning for trading and explores the use of ensemble methods to improve the performance of the agent. We also compare the performance of the agent with the baseline index fund and statistical algorithms like HRP and CVaR under Modern Portfolio Theory.

Installation

The code is written in Python 3.10. The required packages are listed in requirements.txt. To install the packages, run the following command:

pip install -r requirements.txt

Directory Structure

  1. ./: Contains the report and the requirements file.
  2. src: Contains the source code for the project.
  3. results: Contains the results of the experiments.
  4. plots: Contains the plots of the results.

Running the code

The code files are present in the src directory. The three main files are:

  1. ensemble.ipynb: Contains the code for the ensemble methods.
  2. MPT.py: Contains the code for the statistical algorithms.
  3. plot.ipynb: Contains the code to plot the results.

You can just run the cells in the notebook to reproduce the results. The results are stored in the results directory and the plots are stored in the plots directory.

References

FinRL

cs-337-project's People

Contributors

shubham-hazra avatar 0-jackfrost-0 avatar celestialblade1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.