I am testing out the BitMap API, and my get function to get the ticker looks something like this
r = requests.get("https://www.bitstamp.net/api/ticker/", proxies=self.proxydict)
if r.status_code == 200:
return r.json()
else:
r.raise_for_status()
However, I notice the "last" price it returns is always a little different than the one shown here (https://www.bitstamp.net/) Is the API realtime? Or is it lagging behind the actual price.
Thanks!