Skip to content

gitrobi/q-learning-trader

 
 

Repository files navigation

Q-learning trader

A technical q trader on SPY given macd.

run

python teststratgy.py

structure

QLearner.py: an independent tabular (dyna)q-learner.

StrategyLearner.py: Build upon Qlearner.py to learn the trading strategy

testStrategy.py: train and test the StrategyLearner

util.py: some helper functions for the model

experiment result

please see this link

or the evernote screenshot below: experiments result

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%