<p>Found <em>an</em> answer almost straight away - the answer is to get the data from the BitcoinCharts.com API, rather than MtGox - <a href="http://bitcoincharts.com/about/markets-api/" rel="nofollow noreferrer">http://bitcoincharts.com/about/markets-api/</a></p>

<p>Further info here: <a href="https://bitcoin.stackexchange.com/questions/10408/bitcoin-charts-api-data">Bitcoin Charts API Data</a></p>

CC BY-SA 3.0
2013-05-01T07:57:20.383Z
2013-05-01T09:07:56.213Z
2017-04-13T12:47:34.187Z
Nathan Ridley
<p>To calculate EMAs, do I need to be recording all of the data coming through MtGox's websocket firehose and manually calculating it myself, or are there static calls I can make to the HTTP API to obtain these figures on demand? How can I obtain an EMA for historical data before I begin recording websocket-streamed data?</p>

<mtgox><api>
How do I obtain exponential moving averages using the MtGox API?
Nathan Ridley
# How do I obtain exponential moving averages using the MtGox API?

(Asked by: username_0 on 2013-05-01)

To calculate EMAs, do I need to be recording all of the data coming through MtGox's websocket firehose and manually calculating it myself, or are there static calls I can make to the HTTP API to obtain these figures on demand? How can I obtain an EMA for historical data before I begin recording websocket-streamed data?

**Tags:** mtgox, api


---

## 1 answers

### Answer by username_0 on 2013-05-01. Score: 2

Found *an* answer almost straight away - the answer is to get the data from the BitcoinCharts.com API, rather than MtGox - <http://bitcoincharts.com/about/markets-api/>

Further info here: [Bitcoin Charts API Data](https://bitcoin.stackexchange.com/questions/10408/bitcoin-charts-api-data)


---

