Skip to content

Recurrent Reinforcement Learning Algorithm Matlab Implementation

Notifications You must be signed in to change notification settings

ceshine/RRL_Matlab

Repository files navigation

Recurrent Reinforcement Learning Implementation using Matlab/Octave

20210321 Update: A PyTorch-port of this repo is available at ceshine/RRL_PyTorch.

Reference: Stock Trading with Recurrent Reinforcement Learning (RRL) By Gabriel Molina

File Description

Core Functions

  • costFunction.m
  • updateFt.m
  • rewardFunction.m
  • featureNormalize.m
  • sharpRatio.m

Utility Functions

  • checkRRLGradient.m : Verify the correctness of gradient function in cost function
  • getNumericalGradient.m : Approximate gradient (inefficiently) for verification

Test Function:

  • testTWSE.m : Use Taiwan Weighted Stock Index from Taiwan Stock Exchange.
  • testDAX.m : Use DAX index of Germany.

About

Recurrent Reinforcement Learning Algorithm Matlab Implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages