Skip to content

Commit

Permalink
update name of parameters for Symbol::getHistoricRates
Browse files Browse the repository at this point in the history
  • Loading branch information
hhxsv5 committed Feb 21, 2019
1 parent a5fcefe commit 2d837de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/PublicApi/Symbol.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,20 +113,20 @@ public function getTradeHistories($symbol)
/**
* Get historic rates
* @param string $symbol
* @param int $begin
* @param int $end
* @param int $beginAt
* @param int $endAt
* @param string $type
* @return array
* @throws \KuCoin\SDK\Exceptions\BusinessException
* @throws \KuCoin\SDK\Exceptions\HttpException
* @throws \KuCoin\SDK\Exceptions\InvalidApiUriException
*/
public function getHistoricRates($symbol, $begin, $end, $type)
public function getHistoricRates($symbol, $beginAt, $endAt, $type)
{
$response = $this->call(
Request::METHOD_GET,
'/api/v1/market/candles',
compact('symbol', 'begin', 'end', 'type')
compact('symbol', 'beginAt', 'endAt', 'type')
);
return $response->getApiData();
}
Expand Down

0 comments on commit 2d837de

Please sign in to comment.