From 25151f50113ba0d4d7be97aa76a7e7633a143081 Mon Sep 17 00:00:00 2001 From: Jacob Plaster Date: Thu, 12 Sep 2019 14:20:22 +0100 Subject: [PATCH] websocket: convert notfication to notification object --- bfxapi/websockets/order_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bfxapi/websockets/order_manager.py b/bfxapi/websockets/order_manager.py index e3cdf1b..90f5a7b 100644 --- a/bfxapi/websockets/order_manager.py +++ b/bfxapi/websockets/order_manager.py @@ -126,7 +126,7 @@ class OrderManager: "amount": str(amount), "price": str(price), } - # caclulate and add flags + # calculate and add flags flags = calculate_order_flags(hidden, close, reduce_only, post_only, oco) payload['flags'] = flags # add extra parameters