kmadac / bitstamp-python-client

Python package to communicate with bitstamp.net
MIT License
143 stars 70 forks source link

Other Currencys Price #35

Closed stefansill closed 6 years ago

stefansill commented 6 years ago

Getting the bid Price of BTC witth "public_client.ticker()['bid']" works fine, how can i get the prices of ETH for example?

gosuto-inzasheru commented 6 years ago

You have to redefine base when calling ticker(). See the source at bitstamp/client.py#L106. Try public_client.ticker(base='eth')['bid']

stefansill commented 6 years ago

Thanks for the fast answer