Skip to content

Commit

Permalink
Merge 2e33a14 into a511b2b
Browse files Browse the repository at this point in the history
  • Loading branch information
nielskool committed Feb 24, 2019
2 parents a511b2b + 2e33a14 commit 0ee0664
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions kucoin/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,15 @@ def get_ticker(self, symbol):

return self._get('market/orderbook/level1', False, data=data)

def get_fiat_price(self, base='USD', symbol=None):
data = {}

if symbol:
data['currencies'] = symbol
data['base'] = base

return self._get('prices', False, data=data)

def get_24hr_stats(self, symbol):
"""Get 24hr stats for a symbol. Volume is in base currency units. open, high, low are in quote currency units.
Expand Down

0 comments on commit 0ee0664

Please sign in to comment.