@@ -22,7 +22,7 @@ |
||
| 22 | 22 | $this->assertNotEmpty($indexPriceKlineData->getBody()->count()); |
| 23 | 23 | |
| 24 | 24 | /** @var IndexPriceKlineResponse $klineItem */ |
| 25 | - while(!empty($klineItem = $indexPriceKlineData->getBody()->fetch())) { |
|
| 25 | + while (!empty($klineItem = $indexPriceKlineData->getBody()->fetch())) { |
|
| 26 | 26 | $this->assertInstanceOf(IndexPriceKlineResponse::class, $klineItem); |
| 27 | 27 | $this->assertInstanceOf(\DateTime::class, $klineItem->getStart()); |
| 28 | 28 | $this->assertIsFloat($klineItem->getOpen()); |
@@ -244,8 +244,8 @@ |
||
| 244 | 244 | ->setLastPriceOnCreated($data['lastPriceOnCreated']) |
| 245 | 245 | ->setCloseOnTrigger($data['closeOnTrigger']) |
| 246 | 246 | ->setTpslMode($data['tpslMode']) |
| 247 | - ->setTpLimitPrice((float)$data['tpLimitPrice']) |
|
| 248 | - ->setSlLimitPrice((float)$data['slLimitPrice']) |
|
| 247 | + ->setTpLimitPrice((float) $data['tpLimitPrice']) |
|
| 248 | + ->setSlLimitPrice((float) $data['slLimitPrice']) |
|
| 249 | 249 | ->setSmpType($data['smpType']) |
| 250 | 250 | ->setSmpGroup($data['smpGroup']) |
| 251 | 251 | ->setSmpOrderId($data['smpOrderId']); |