mirror of
https://git.wownero.com/lza_menace/totrader.git
synced 2024-08-15 00:33:13 +00:00
fix bug with run arg
This commit is contained in:
parent
11ebd2261f
commit
ba4a664502
1 changed files with 3 additions and 3 deletions
6
trade.py
6
trade.py
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue