fix bug with run arg
This commit is contained in:
parent
11ebd2261f
commit
ba4a664502
6
trade.py
6
trade.py
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue