diff --git a/src/Api/OkexV5/System.php b/src/Api/OkexV5/System.php new file mode 100644 index 0000000..b3ef109 --- /dev/null +++ b/src/Api/OkexV5/System.php @@ -0,0 +1,18 @@ +type='GET'; + $this->path='/api/v5/system/status'; + + $this->data=$data; + return $this->exec(); + } +} \ No newline at end of file diff --git a/src/OkexV5.php b/src/OkexV5.php index feeb657..be77064 100644 --- a/src/OkexV5.php +++ b/src/OkexV5.php @@ -10,6 +10,7 @@ use Lin\Okex\Api\OkexV5\Market; use Lin\Okex\Api\OkexV5\Publics; use Lin\Okex\Api\OkexV5\SubAccount; +use Lin\Okex\Api\OkexV5\System; use Lin\Okex\Api\OkexV5\Trade; class OkexV5 @@ -93,4 +94,11 @@ public function subaccount(){ public function trade(){ return new Trade($this->init()); } + + /** + * + * */ + public function system(){ + return new System($this->init()); + } }