add: bot bond selling
This commit is contained in:
@@ -123,6 +123,10 @@ def main():
|
|||||||
if message["type"] == "close":
|
if message["type"] == "close":
|
||||||
print("The round has ended")
|
print("The round has ended")
|
||||||
break
|
break
|
||||||
|
elif message["type"] == "open":
|
||||||
|
print("Market opened:", message)
|
||||||
|
market_open = True
|
||||||
|
place_bond_orders() # open 받은 후에만 주문
|
||||||
elif message["type"] == "error":
|
elif message["type"] == "error":
|
||||||
print(message)
|
print(message)
|
||||||
elif message["type"] == "reject":
|
elif message["type"] == "reject":
|
||||||
|
|||||||
Reference in New Issue
Block a user