Skip to content

Commit

Permalink
Args correction
Browse files Browse the repository at this point in the history
formatting args correctly
  • Loading branch information
silvavn committed Sep 11, 2020
1 parent c07ca4f commit 8722d20
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion argchecker.py
Expand Up @@ -18,4 +18,8 @@ def check_arguments(self, args):
2), "You want to test but the future bars are less than 2. That does not give us enough data to test the model properly. Please use a value larger than 2.\nExiting now..."

assert not(args.history_to_use != "all" and int(args.history_to_use_int) <
args.future_bars), "It is a good idea to use more history and less future bars. Please change these two values and try again.\nExiting now..."
args.future_bars), "It is a good idea to use more history and less future bars. Please change these two values and try again.\nExiting now..."

args.market_index = str(args.market_index).upper()
if args.history_to_use != "all":
args.history_to_use = int(args.history_to_use)

0 comments on commit 8722d20

Please sign in to comment.