All Projects → sachink2010 → Automatedstocktrading Deepq Learning

sachink2010 / Automatedstocktrading Deepq Learning

Licence: mit
Every day, millions of traders around the world are trying to make money by trading stocks. These days, physical traders are also being replaced by automated trading robots. Algorithmic trading market has experienced significant growth rate and large number of firms are using it. I have tried to build a Deep Q-learning reinforcement agent model to do automated stock trading.

Projects that are alternatives of or similar to Automatedstocktrading Deepq Learning

Google Colab Cloudtorrent
Colab Notebook Remote torrent client
Stars: ✭ 132 (-0.75%)
Mutual labels:  jupyter-notebook
Deeplearningbook Notes
Notes on the Deep Learning book from Ian Goodfellow, Yoshua Bengio and Aaron Courville (2016)
Stars: ✭ 1,672 (+1157.14%)
Mutual labels:  jupyter-notebook
Algobook
A beginner-friendly project to help you in open-source contributions. Data Structures & Algorithms in various programming languages Please leave a star ⭐ to support this project! ✨
Stars: ✭ 132 (-0.75%)
Mutual labels:  jupyter-notebook
Huawei Digix Agegroup
2019 HUAWEI DIGIX Nurbs Solutions
Stars: ✭ 132 (-0.75%)
Mutual labels:  jupyter-notebook
Rwet
Notebooks and other materials for Reading and Writing Electronic Text
Stars: ✭ 132 (-0.75%)
Mutual labels:  jupyter-notebook
Privateml
Various material around private machine learning, some associated with blog
Stars: ✭ 132 (-0.75%)
Mutual labels:  jupyter-notebook
Team Learning Nlp
主要存储Datawhale组队学习中“自然语言处理”方向的资料。
Stars: ✭ 132 (-0.75%)
Mutual labels:  jupyter-notebook
Tensorflow In Practise Specialization
Four Courses Specialization Tensorflow in practise Specialization
Stars: ✭ 133 (+0%)
Mutual labels:  jupyter-notebook
Seq2seq tutorial
Code For Medium Article "How To Create Data Products That Are Magical Using Sequence-to-Sequence Models"
Stars: ✭ 132 (-0.75%)
Mutual labels:  jupyter-notebook
Hep ml
Machine Learning for High Energy Physics.
Stars: ✭ 133 (+0%)
Mutual labels:  jupyter-notebook
Reinforcement Learning Implementation
Reinforcement Learning examples implementation and explanation
Stars: ✭ 131 (-1.5%)
Mutual labels:  jupyter-notebook
Deep Reinforcement Learning In Trading
Stars: ✭ 129 (-3.01%)
Mutual labels:  jupyter-notebook
Ml riskmanagement
Short Course - Applied Machine Learning for Risk Management
Stars: ✭ 132 (-0.75%)
Mutual labels:  jupyter-notebook
Tensorflow realtime multi Person pose estimation
Multi-Person Pose Estimation project for Tensorflow 2.0 with a small and fast model based on MobilenetV3
Stars: ✭ 129 (-3.01%)
Mutual labels:  jupyter-notebook
Basketballvideoanalysis
Stars: ✭ 133 (+0%)
Mutual labels:  jupyter-notebook
Docs
MindSpore document
Stars: ✭ 132 (-0.75%)
Mutual labels:  jupyter-notebook
Deep Histopath
A deep learning approach to predicting breast tumor proliferation scores for the TUPAC16 challenge
Stars: ✭ 132 (-0.75%)
Mutual labels:  jupyter-notebook
One Network Many Uses
Four-in-one deep network: image search, image captioning, similar words and similar images using a single model
Stars: ✭ 133 (+0%)
Mutual labels:  jupyter-notebook
Ghost Free Shadow Removal
[AAAI 2020] Towards Ghost-free Shadow Removal via Dual Hierarchical Aggregation Network and Shadow Matting GAN
Stars: ✭ 133 (+0%)
Mutual labels:  jupyter-notebook
Keras Mnist Tutorial
For a mini tutorial at U of T, a tutorial on MNIST classification in Keras.
Stars: ✭ 132 (-0.75%)
Mutual labels:  jupyter-notebook

Please find the project inside Zip file that contain the multiple folders

  1. State : in this folder you will find the state.py file
  2. Agent :inside this folder you will get Agent.py file
  3. Trading.ipynb file that contains functionality:

3.1 Data pre-processing 3.2 Agent is trained with 51 Episode. Input here are following parameters:

  • Stock1_name: this is first stock name, which is Apple - aapl.us
  • Stock2_name: this is second stock name, which is Amazon - amzn.us
  • episode_count: This is number of episodes which agent till train on
  • Start_balance: This is the initial starting cash, which is $ 10,000
  • Training: This is number of records used for trading i.e. number of days on each episode of training will run
  • Test: This is number of days on which test run will be executed

3.3 Evaluate and final program that predict the total portfolio value for one episode

  1. Models are saved in model directory

To execute the program, you would need to run the Trading.IPynb file with input as stated above and then look at the result

  1. There are other files: Testing- Google n Walmart.ipynb and Testing-IBM n GE.ipynb. These can be used to test the model generated in Trading.ipynb and stored in Models directory

References

  1. MACHINE LEARNING FOR TRADING: GORDON RITTER: https://cims.nyu.edu/~ritter/ritter2017machine.pdf

  2. Financial Trading as a Game: A Deep Reinforcement Learning Approach: Huang, Chien-Yi https://arxiv.org/pdf/1807.02787.pdf

  3. Convergence of Q-learning: a simple proof: Francisco S. Melo: http://users.isr.ist.utl.pt/~mtjspaan/readingGroup/ProofQlearning.pdf

  4. https://medium.com/@chinmaya.mishra1/deep-dive-in-to-reinforcement-learning-10fa30b418f9

  5. David Silver’s lectures about deep reinforcement learning

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].