Skip to content

Commit

Permalink
add get_tickers method
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlyshyn committed Aug 5, 2017
1 parent 4c50bac commit 4d7ad41
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,20 @@ public function get_symbols() {
return $this->send_public_request($request);
}

/**
* Get Tickers
*
* Gives innermost bid and asks and information on the most recent trade, as
* well as high, low and volume of the last 24 hours.
*/
public function get_tickers($symbols = 'tBTCUSD') {
$request = $this->endpoint('tickers?symbols='.$symbols);

return $this->send_public_request($request);
}



/**
* Get Symbols Details
*
Expand Down

0 comments on commit 4d7ad41

Please sign in to comment.