diff --git a/bot split/bot split.py b/bot split/bot split.py index 93debc7..0c80876 100644 --- a/bot split/bot split.py +++ b/bot split/bot split.py @@ -27,6 +27,7 @@ from value import ValueManager def main(): global args, exchange, positionMan, orderMan, valueMan + global vale_last_print_time args = parse_arguments() exchange = ExchangeConnection(args=args) @@ -40,7 +41,6 @@ def main(): # exchange.send_add_message(order_id=1, symbol="BOND", dir=Dir.BUY, price=990, size=1) - vale_bid_price, vale_ask_price = None, None vale_last_print_time = time.time() while True: