[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Time shift winter - summer time



PureBytes Links

Trading Reference Links

Hi to all,

Does someone know the answer or has an answer to following question:

(and yes, I read already the documentation on  http://www.amibroker.com/kb/2006/03/19/how-does-the-daily-time-compression-work/)

If you receive real time data from IB in Europe CET then the US market opens at 15:30 and closes at 22:00 the European markets open at 9:00 and closes 17:30.
If you compress this data to daily candles, you would receive the daily open, high, low, close etc.

But on October, 25 European clocks change to wintertime but the US 1 week later on November, 1. 
So there will be 1 week were clocks will have a different time shift and from November, 1 they will be same again.

So between October, 25 and November, 1 the US market opens at 14:30 and closes at 21:00 the European markets open at 9:00 and closes 17:30. This is how the data is provided by IB TWS.

So the data saved in the Amibroker database for the US market will be shifted by 1 hour but just for this 1 week. 

My question now: How can you properly compress the data to get daily candles? 
The problem is, if I would shift the US data 1 hour, I would shift also the history and the daily candles would be wrong. Especially for the US Futures Market, where there is a day and night session.

How are you solving this issue?

Best regards, dubi




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/