Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (ozgur, TipmyPip), 722 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
TimeStamp of historic data #462396
09/27/16 08:56
09/27/16 08:56
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline OP
Senior Member
Grat  Offline OP
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
Hi,

I have question: how to Zorro work with the time from the historical data

a) historic data from zorro is a UTC+0?

b) if have broker server in the other TimeZone, howto synchronize data downloaded from broker with data from Zorro? Change the time into UTC+0?

c) In the system I'm use this:
open order only in time between 8-12 hour. Data from Broker is a +2UTC. PC is a +1UTC. Historic data is a UTC. How to work in the train and trade mode?

thank,
Milan

Re: TimeStamp of historic data [Re: Grat] #462399
09/27/16 14:24
09/27/16 14:24
Joined: Jul 2016
Posts: 64
G
gtell Offline
Junior Member
gtell  Offline
Junior Member
G

Joined: Jul 2016
Posts: 64
I am not sure for #b and #c, but what concerns #a, from my experience, from what I see, it is UTC+0.
I am located in UTC+2.

Re: TimeStamp of historic data [Re: gtell] #462401
09/27/16 15:39
09/27/16 15:39
Joined: May 2015
Posts: 390
Czech Republic
G
Grat Offline OP
Senior Member
Grat  Offline OP
Senior Member
G

Joined: May 2015
Posts: 390
Czech Republic
from the manual:
Quote:

typedef struct T1
{
DATE time; // time of the tick in UTC time, OLE date/time format
float fVal; // price data
} T1;

typedef struct T6
{
DATE time;
float fHigh, fLow;
float fOpen, fClose;
float fVal, fVol; // additional data, like ask-bid spread, volume etc.
} T6;


but from the ducascopy i have tick data:
Quote:

Date Time ,Bid ,Ask ,Volume BID,Volume Ask
-----------------------------------------------------------------
2016.01.04 00:00:00.039,1.01055,1.0109,1.00,1.75
2016.01.04 00:00:00.090,1.01048,1.01087,1.00,1.75
2016.01.04 00:00:00.192,1.01046,1.01085,1.00,2.25
2016.01.04 00:00:00.243,1.01049,1.01081,1.00,1.00
2016.01.04 00:00:00.944,1.01048,1.01082,1.00,1.75


Is a possible make my own historic data? (modify the "convert.c")
Quote:

typedef struct T1a
{
DATE time;
float fTick;
float fBid, fAsk;
float fVBid, fVAsk; // additional data, like ask,bid volume etc.
} T1a;


in the strategy I use:
....
....
History = ".t1a";
....
....

If I call func:
price (int offset) : var => I'm get the Ask or Bid or Average price?

Re: TimeStamp of historic data [Re: Grat] #462405
09/27/16 17:25
09/27/16 17:25
Joined: May 2016
Posts: 180
Prague
pcz Offline
Member
pcz  Offline
Member

Joined: May 2016
Posts: 180
Prague


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1