Skip to content

sino30535/DDPG-portfolio-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDPG-stock-market-test

Build DDPG models and test on stock market

Reference

Dataset

Basic settings

  • The action contains cash position, 15 stock's long position, and 15 stock's short position.
  • Observe stock price data every minutes, but only act in every 7 minutes.
  • In each step, in addition to the original (s, a, r, s') , other state-action pairs of'inferred steps' were also collected and store in the replay memory buffer.

Results

  • The models were built in a time series rolling scheme, using data from previous month to build rl model and test on next month.
  • The model reach 14% rate of return from 2018/02/01 to 2018/10/29, compare with 5.6% rate of return using strategy of buy 15 stocks uniformly and hold and -16.8% rate of return using strategy of buy best performance stock in last month. More details in ipython notebook.
  • The rl model in stock market can be very unstable and suffered a lot from overfitting.
  • The model only buy and sell with very small portion of portfolio, it didn't change position very often during the month.

About

Build DDPG models and test on stock market

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published