From 801ca27c1d21f52094282b1b9fc2c34d8675f4fe Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Sat, 12 Oct 2019 18:36:39 +0800 Subject: [PATCH] [Mod] add aysnc support for cancel bistamp order --- vnpy/gateway/bitstamp/bitstamp_gateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vnpy/gateway/bitstamp/bitstamp_gateway.py b/vnpy/gateway/bitstamp/bitstamp_gateway.py index b0c4eb1a..3a2b5958 100644 --- a/vnpy/gateway/bitstamp/bitstamp_gateway.py +++ b/vnpy/gateway/bitstamp/bitstamp_gateway.py @@ -100,7 +100,7 @@ class BitstampGateway(BaseGateway): def cancel_order(self, req: CancelRequest): """""" - self.rest_api.cancel_order(req) + self.order_manager.cancel_order(req) def query_account(self): """"""