This commit is contained in:
2026-05-09 15:44:01 +09:00
parent c0e437eb34
commit 0bddbf13c5

View File

@@ -48,9 +48,9 @@ def main():
elif message["type"] == "reject":
print(message)
elif message["type"] == "fill":
on_fill(message, exchange, man)
on_fill(message, man)
elif message["type"] == "book":
on_book(message, exchange, man)
on_book(message, man)
def on_fill(message, man: Manager):
if (message["dir"] == Dir.BUY):