���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/trader/vendor/linwj/binance/src/Api/Futures/ |
<?php /** * @author lin <[email protected]> * */ namespace Lin\Binance\Api\Futures; use Lin\Binance\Request; class Market extends Request { //Default Dont required HMAC SHA256 protected $signature=false; //Default seting protected $version='v1'; /** *GET /fapi/v1/ping * */ public function getPing(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/ping'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/time * */ public function getTime(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/time'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/exchangeInfo * */ public function getExchangeInfo(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/exchangeInfo'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/depth * */ public function getDepth(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/depth'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/trades * */ public function getTrades(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/trades'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/historicalTrades * */ public function getHistoricalTrades(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/historicalTrades'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/aggTrades * */ public function getAggTrades(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/aggTrades'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/premiumIndex * */ public function getPremiumIndex(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/premiumIndex'; $this->data=$data; return $this->exec(); } /** * GET /fapi/v1/fundingRate * */ public function getFundingRate(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/fundingRate'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/klines * */ public function getKlines(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/klines'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/continuousKlines * */ public function getContinuousKlines(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/continuousKlines'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/indexPriceKlines * */ public function getIndexPriceKlines(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/indexPriceKlines'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/markPriceKlines * */ public function getMarkPriceKlines(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/markPriceKlines'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/ticker/24hr * */ public function get24hr(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/ticker/24hr'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/ticker/price * */ public function getTickerPrice(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/ticker/price'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/ticker/bookTicker * */ public function getTickerBookTicker(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/ticker/bookTicker'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/openInterest * */ public function getOpenInterest(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/openInterest'; $this->data=$data; return $this->exec(); } /** *GET /futures/data/openInterestHist * */ public function getOpenInterestHist(array $data=[]){ $this->type='GET'; $this->path='/futures/data/openInterestHist'; $this->data=$data; return $this->exec(); } /** *GET /futures/data/topLongShortAccountRatio * */ public function getTopLongShortAccountRatio(array $data=[]){ $this->type='GET'; $this->path='/futures/data/topLongShortAccountRatio'; $this->data=$data; return $this->exec(); } /** *GET /futures/data/topLongShortPositionRatio * */ public function getTopLongShortPositionRatio(array $data=[]){ $this->type='GET'; $this->path='/futures/data/topLongShortPositionRatio'; $this->data=$data; return $this->exec(); } /** *GET /futures/data/globalLongShortAccountRatio * */ public function getGlobalLongShortAccountRatio(array $data=[]){ $this->type='GET'; $this->path='/futures/data/globalLongShortAccountRatio'; $this->data=$data; return $this->exec(); } /** * GET /futures/data/takerlongshortRatio * */ public function getTakerlongshortRatio(array $data=[]){ $this->type='GET'; $this->path='/futures/data/takerlongshortRatio'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/lvtKlines * */ public function getLvtKlines(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/lvtKlines'; $this->data=$data; return $this->exec(); } /** *GET /fapi/v1/indexInfo * */ public function getIndexInfo(array $data=[]){ $this->type='GET'; $this->path='/fapi/'.$this->version.'/indexInfo'; $this->data=$data; return $this->exec(); } }