作者 karlet

feat:rateLimit 接口

@@ -203,6 +203,13 @@ class BinanceFutures @@ -203,6 +203,13 @@ class BinanceFutures
203 $method = 'GET'; 203 $method = 'GET';
204 return $this->requestAccount($method, $path, $param); 204 return $this->requestAccount($method, $path, $param);
205 } 205 }
  206 + //rateLimit
  207 + public function rateLimit($param)
  208 + {
  209 + $path = '/fapi/v1/rateLimit/order';
  210 + $method = 'GET';
  211 + return self::requestAccount($method, $path, $param);
  212 + }
206 213
207 /* 214 /*
208 * ================================== 215 * ==================================
@@ -238,13 +245,6 @@ class BinanceFutures @@ -238,13 +245,6 @@ class BinanceFutures
238 $method = 'GET'; 245 $method = 'GET';
239 return self::requestMarket($method, $path, $param); 246 return self::requestMarket($method, $path, $param);
240 } 247 }
241 - //rateLimit  
242 - static public function rateLimit($param)  
243 - {  
244 - $path = '/fapi/v1/rateLimit/order';  
245 - $method = 'GET';  
246 - return self::requestMarket($method, $path, $param);  
247 - }  
248 } 248 }
249 249
250 ?> 250 ?>