Prices are weird
dbendure opened this issue · 2 comments
dbendure commented
where does this pull its numbers from?
if use:
file_get_contents('https://api.coinbase.com/v1/prices/sell?qty=1');
it returns 1198.27 that matches the sell price on coinbase.com, but:
print client.get_sell_price(currency_pair = 'BTC-USD').amount
it returns 1192.28.
just showing its off from the actual coinbase site, if its using exchange numbers then that's why its off.
dbendure commented
Just checked the exchange its not the same output, so now its just weird.
JohnLZeller commented
@dbendure you should switch to the v2
API. This library uses v2
as well.