作者 karlet

feat:只做maker下单修复

@@ -59,7 +59,7 @@ class Order @@ -59,7 +59,7 @@ class Order
59 'side' => strtolower($this->side), 59 'side' => strtolower($this->side),
60 'ordType' => $this->ordType, 60 'ordType' => $this->ordType,
61 ]; 61 ];
62 - if ($this->ordType == 'LIMIT' || $this->ordType == 'IOC') { 62 + if ($this->ordType == 'LIMIT' || $this->ordType == 'IOC' || $this->ordType == 'ONLYMAKER') {
63 $order['px'] = round($this->price, $symbolInfo->pricePrec); 63 $order['px'] = round($this->price, $symbolInfo->pricePrec);
64 } 64 }
65 $lot = $this->qty / $symbolInfo->ctVal; 65 $lot = $this->qty / $symbolInfo->ctVal;