<p>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.</p>

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

CC BY-SA 3.0
2013-12-08T10:25:13.423Z
2013-12-08T10:25:13.423Z
edufernandez
<p>I am testing out the BitMap API, and my get function to get the ticker looks something like this</p>

<pre><code> 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()
</code></pre>

<p>However, I notice the "last" price it returns is always a little different than the one shown here (<a href="https://www.bitstamp.net/" rel="nofollow">https://www.bitstamp.net/</a>) Is the API realtime? Or is it lagging behind the actual price.</p>

<p>Thanks!</p>

<bitstamp>
Bitstamp.net API Realtime
Canaan Linder
# Bitstamp.net API Realtime

(Asked by: username_0 on 2013-12-08)

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!

**Tags:** bitstamp


---

## 1 answers

### Answer by username_1 on 2013-12-08. Score: 0 | Accepted answer

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.


---

