fix bug with run arg

This commit is contained in:
lza_menace 2020-09-08 21:47:41 -07:00
parent 11ebd2261f
commit ba4a664502
1 changed files with 3 additions and 3 deletions

View File

@ -169,16 +169,16 @@ if __name__ == '__main__':
balances_counter = 0
market_maker_counter = 0
if args.market_maker:
if not args.run and args.market_maker:
t.start_market_maker()
exit()
if args.update_orders:
if not args.run and args.update_orders:
t.reconcile_orders()
t.update_orders()
exit()
if args.balances:
if not args.run and args.balances:
t.store_balances()
exit()