md
This commit is contained in:
@@ -27,6 +27,7 @@ from value import ValueManager
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
global args, exchange, positionMan, orderMan, valueMan
|
global args, exchange, positionMan, orderMan, valueMan
|
||||||
|
global vale_last_print_time
|
||||||
|
|
||||||
args = parse_arguments()
|
args = parse_arguments()
|
||||||
exchange = ExchangeConnection(args=args)
|
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)
|
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()
|
vale_last_print_time = time.time()
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
|||||||
Reference in New Issue
Block a user