notadamking / RLTrader

A cryptocurrency trading environment using deep reinforcement learning and OpenAI's gym
https://discord.gg/ZZ7BGWh
GNU General Public License v3.0
1.71k stars 537 forks source link

Fix train-split-percentage CLI #100

Closed rshtirmer closed 5 years ago

rshtirmer commented 5 years ago

train-split-percentage can not be set to a non-default value when type=int, as the value is between 0 and 1. Fixes the following error: cli.py: error: argument --train-split-percentage: invalid int value: '0.2'