-2

I have seen 13 billion dollar volume on Coinbase website but when I request it through API it gives me correct price of BTC but wrong volume.

{
   "ask":"29157.6",
   "bid":"29157.59",
   "volume":"6355.15089793",
   "trade_id":555319684,
   "price":"29157.92",
   "size":"0.00050111",
   "time":"2023-08-16T07:32:01.049557Z"
}

I am using getProductTicker() method.

It should display the correct volume.

Uwe Keim
  • 39,551
  • 56
  • 175
  • 291

0 Answers0