|
...
|
...
|
@@ -125,9 +125,11 @@ class CmBroker |
|
|
|
}
|
|
|
|
public function init()
|
|
|
|
{
|
|
|
|
$this->initPosMode();
|
|
|
|
$this->initSymbolInfos();
|
|
|
|
$this->initPositions();
|
|
|
|
if ($this->plat == self::PLAT_OKX && $this->apiInfo && $this->apiInfo->key != '') {
|
|
|
|
$this->initPosMode();
|
|
|
|
$this->initPositions();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
public function accListen(callable $onData)
|
|
|
|
{
|
...
|
...
|
|