Skip to content

Commit

Permalink
getCandle update getCandles
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Oct 16, 2020
1 parent 0c361b1 commit 953d248
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Api/Swap/Instruments.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ public function getTrades(array $data=[]){
}

/*
* GET/api/swap/v3/instruments/<instrument_id>/candle
* GET/api/swap/v3/instruments/<instrument_id>/candles
* */
public function getCandles(array $data=[]){
$this->type='GET';
$this->path='/api/swap/v3/instruments/'.$data['instrument_id'].'/candle';
$this->path='/api/swap/v3/instruments/'.$data['instrument_id'].'/candles';

$this->data=$data;

Expand Down

0 comments on commit 953d248

Please sign in to comment.