Update handle_message to accept anchors with status "CONFIRMED" in addition to "MATCHED"
This commit is contained in:
+1
-1
@@ -124,7 +124,7 @@ async def handle_message(message):
|
|||||||
not anchor_id
|
not anchor_id
|
||||||
or side != "BUY"
|
or side != "BUY"
|
||||||
or not outcome
|
or not outcome
|
||||||
or (status != "MATCHED")
|
or (status not in ["MATCHED", "CONFIRMED"])
|
||||||
or (size < 1)
|
or (size < 1)
|
||||||
or (price > 0.50)
|
or (price > 0.50)
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in New Issue
Block a user