Bitcoin Forum
November 11, 2024, 03:52:37 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: MtGox API V2 - unix timestamp - high/low prices  (Read 350 times)
rongorongo (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
May 22, 2013, 03:19:35 PM
 #1

Hi, I'm digging into the MtGox API but I have a question to the high, low quotes reported via their money ticker API.

https://data.mtgox.com/api/2/BTCUSD/money/ticker

Result from API:
{"result":"success","data":{"high":{"value":"123.70000","value_int":"12370000","display":"$123.70","display_short":"$123.70","currency":"USD"},"low":{"value":"121.33330","value_int":"12133330","display":"$121.33","display_short":"$121.33","currency":"USD"},"avg":{"value":"122.59473","value_int":"12259473","display":"$122.59","display_short":"$122.59","currency":"USD"},"vwap":{"value":"122.67780","value_int":"12267780","display":"$122.68","display_short":"$122.68","currency":"USD"},"vol":{"value":"17382.32002233","value_int":"1738232002233","display":"17,382.32\u00a0BTC","display_short":"17,382.32\u00a0BTC","currency":"BTC"},"last_local":{"value":"122.89400","value_int":"12289400","display":"$122.89","display_short":"$122.89","currency":"USD"},"last_orig":{"value":"122.89400","value_int":"12289400","display":"$122.89","display_short":"$122.89","currency":"USD"},"last_all":{"value":"122.89400","value_int":"12289400","display":"$122.89","display_short":"$122.89","currency":"USD"},"last":{"value":"122.89400","value_int":"12289400","display":"$122.89","display_short":"$122.89","currency":"USD"},"buy":{"value":"122.89000","value_int":"12289000","display":"$122.89","display_short":"$122.89","currency":"USD"},"sell":{"value":"122.89400","value_int":"12289400","display":"$122.89","display_short":"$122.89","currency":"USD"},"item":"BTC","now":"1369233629916017"}}

The high and low prices must refer to the highest and lowest trade within a day. The Unix timestamp (1369233629916017) given above corresponds to:
GMT: Wed, 22 May 2013 14:40:29 GMT

So the question is, for the high and low prices reported by Mt.Gox for which timezone are they reported in? The high and low prices for a given day must depend on how you define the timezone. Are the high/low for a given day based on Tokyo time zone (UTC/GMT +9 hours) or maybe GMT?

If there is anybody who can help me shedding some clarity on this or help I would be grateful.


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!