Giter Club home page Giter Club logo

robotrader's Introduction

RoboTrader - Deep Reinforcement Learning for Automated Portfolio Management

This project was heavily inspired by the great work outlined in this research paper: https://ieeexplore.ieee.org/abstract/document/9877940.

A Twin Deterministic Policy Gradient approach (TD3) was created and trained on a stock market simulation that I built using the Gymnasium Python library (the successor of OpenAI's Gym for reinforcement learning). The network is fed normalized values downloaded from Yahoo Finance on stocks belonging to the SP500 index in the US. The reward for the network is based on the difference in value from open to close of a trading day - where actions (such as buying shares and selling at a higher price) are reinforced.

The state-space used was identical to that which was employed by the authors of the paper. Comparable results were achieved in testing.

TensorBoard is utilized to provide live metrics of the networks performance and training progress as the simulation plays out.

Future Areas for Improvement

  • Explore using the Transformers architecture to better capture non-linear relationships in the time-series data that may impact the performance of a given stock.
  • Conduct further data exploration leveraging unsupervised learning approaches such as clustering to identify additional candidates to use as input features for the network.

robotrader's People

Contributors

raisbecka avatar arzbk 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.