From b4af7b4457dd750018b526df0399f3d56e99031f Mon Sep 17 00:00:00 2001 From: dev Date: Tue, 28 Dec 2021 16:03:59 +0800 Subject: [PATCH] =?UTF-8?q?okex=20v5=20=E5=B8=82=E4=BB=B7=E5=8D=95=20sz?= =?UTF-8?q?=E4=B8=BA=E6=95=B0=E9=87=8F=20=E5=BA=94=E8=AF=A5=E5=AF=B9?= =?UTF-8?q?=E5=BA=94=E8=87=B3=20=5Fnumber?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Map/RequestTraderMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Map/RequestTraderMap.php b/src/Map/RequestTraderMap.php index 84fdc68..2d760ba 100644 --- a/src/Map/RequestTraderMap.php +++ b/src/Map/RequestTraderMap.php @@ -112,7 +112,7 @@ function buy(array $data){ $map['sz']=$data['_number'] ?? 0; }else{ $map['ordType']='market'; - $map['sz']=$data['_price'] ?? 0; + $map['sz']=$data['_number'] ?? 0; } switch ($this->platform){