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!

1
  • 1
    What is the BitMap API? Am I correct in assuming you are talking about BitStamp's own API?
    – user6049
    Commented Dec 8, 2013 at 10:12

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.