From 315cb0b1840400f3088c6cf6495d1e82809b3343 Mon Sep 17 00:00:00 2001 From: time Date: Tue, 24 Aug 2021 16:41:20 +0800 Subject: [PATCH] add getBatchFundingRate --- src/Api/Linear/Market.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Api/Linear/Market.php b/src/Api/Linear/Market.php index 1636f7c..bfc8fbe 100644 --- a/src/Api/Linear/Market.php +++ b/src/Api/Linear/Market.php @@ -199,6 +199,16 @@ public function getFundingRate(array $data=[]){ return $this->exec(); } + /** + *GET linear-swap-api/v1/swap_batch_funding_rate + * */ + public function getBatchFundingRate(array $data=[]){ + $this->type='GET'; + $this->path='/linear-swap-api/v1/swap_batch_funding_rate'; + $this->data=$data; + return $this->exec(); + } + /** *GET linear-swap-api/v1/swap_historical_funding_rate * */