Bitstamp.net API Realtime

0

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!

Canaan Linder

Posted 2013-12-08T04:54:46.373

Reputation: 115

1What is the BitMap API? Am I correct in assuming you are talking about BitStamp's own API?pyramids 2013-12-08T10:12:53.773

Answers

0

I wonder if this is due to the fact that prices can change very rapidly if many orders are executed in a short period of time.

In my tests both prices are the same, and none seem to lag after the other.

edufernandez

Posted 2013-12-08T04:54:46.373

Reputation: 106