From 7db6b5d73fd95ff7330d27c842c39d0141e04dd1 Mon Sep 17 00:00:00 2001 From: swsong Date: Sat, 21 Dec 2019 22:16:16 +0900 Subject: [PATCH] corrent function from_raw_order not found error --- bfxapi/rest/bfx_rest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bfxapi/rest/bfx_rest.py b/bfxapi/rest/bfx_rest.py index c3fac45..8e2eb56 100644 --- a/bfxapi/rest/bfx_rest.py +++ b/bfxapi/rest/bfx_rest.py @@ -558,7 +558,7 @@ class BfxRest: """ endpoint = "auth/w/order/cancel" raw_notification = await self.post(endpoint, { 'id': orderId }) - return Notification.from_raw_order(raw_notification) + return Notification.from_raw_notification(raw_notification) async def submit_update_order(self, orderId, price=None, amount=None, delta=None, price_aux_limit=None, price_trailing=None, hidden=False, close=False, reduce_only=False, @@ -602,7 +602,7 @@ class BfxRest: payload['flags'] = flags endpoint = "auth/w/order/update" raw_notification = await self.post(endpoint, payload) - return Notification.from_raw_order(raw_notification) + return Notification.from_raw_notification(raw_notification) ##################################################