fix bug with run arg

This commit is contained in:
lza_menace 2020-09-08 21:47:41 -07:00
parent 11ebd2261f
commit ba4a664502

View file

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