Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
Version : 3.10.13
The packages and versions are stored inside requirements.txt
file.
You can run scripts to generate the required files
-
Generate market_indicators data :
python3 rl_ppo/generate_market_indicators.py
-
Run the Policy model on MlpPolicy Baseline :
python3 rl_ppo/train.py --ticker AAPL -ts 100 <add rest arguments to change configuration>
-
Run the Transformer Baseline Extractor on PPO Model :
python3 rl_ppo/train.py --ticker AAPL -ts 100 -ut <add rest arguments to change configuration>
I have used Colab instance to train the Policies and store results ->
P.S. I have used colab_requirements.txt
to install dependencies at colab as it doesn't alow us to update necessary ipynb dependant components.
On field | Blotter Policy | MLP Policy | Transformer Policy |
---|---|---|---|
reward | -12231.228875703917 | -8748.478045315253 | -8560.98202774446 |
slippage | 287.38999999997304 |
354.15999999991124 | 346.6849999999179 |
time_penalty | 5624.946076999934 | 690.5739430000103 | 674.7037646000075 |
Rest information are shared in the codes and the colab notebook.