Bitcoin Forum
November 15, 2024, 09:14:23 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: MTGOX depth  (Read 679 times)
fluidjax (OP)
Hero Member
*****
Offline Offline

Activity: 750
Merit: 601



View Profile
May 10, 2013, 06:08:31 AM
 #1

I'm trying to build a some depth data for MtGox, actually I only need around 10 values deep each side of the spread.

Gox seems to build the full depth data periodically, so its is often >20minutes old. (This seems the same for all the API versions).
The streaming websocket sends data in real time which I can apply to this full depth data, but this leaves a gap of depth updates between the time of gox full depth updated and when my program starts running.

I only see one option, and that is to run a process permanently that stores the streaming data, and once I get a full depth file that returns timestamps beyond the earliest streaming data I have stored, I can
  1) Make my initial depth hash equal to the full depth data file
  2) Then apply the streaming data

I must be missing something obvious, Isn't there an easier way?



Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!