正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
| @@ -84,6 +84,10 @@ class Order | @@ -84,6 +84,10 @@ class Order | ||
| 84 | $ordType = "LIMIT"; | 84 | $ordType = "LIMIT"; |
| 85 | $timeInForce = $this->ordType; | 85 | $timeInForce = $this->ordType; |
| 86 | } | 86 | } |
| 87 | + if ($this->ordType == "ONLYMAKER") { | ||
| 88 | + $ordType = "LIMIT"; | ||
| 89 | + $timeInForce = "GTX"; | ||
| 90 | + } | ||
| 87 | $order = [ | 91 | $order = [ |
| 88 | 'symbol' => $symbol, | 92 | 'symbol' => $symbol, |
| 89 | 'positionSide' => $this->posSide, | 93 | 'positionSide' => $this->posSide, |
-
请 注册 或 登录 后发表评论