Closed jsartre closed 6 years ago
The coinbase API doesn't show any historical endpoints (that I've seen). Look around: https://developers.coinbase.com/api/v2#get-spot-price
@jsartre historical data is shown with the get_spot_price
endpoint but as #49 points out there is a bug with how params are passed on GET
requests currently. This should be fixed by #54
@jsartre you might also want to checkout the get_historic_prices
endpoint, it's undocumented but you can checkout the requests made at www.coinbase.com
Must be a newbie question. Trying to fetch the historical daily spot prices on coinbase. Using the python implementation of the api as follows.
https://developers.coinbase.com/api/v2#get-spot-price
price = client.get_spot_price(currency_pair= 'BTC-USD', date='2016-05-10')
Result (actually today's price):
I get the current spot price. Could anyone shade some light on what I am missing? Thanks!