Starting Zorro

Posted By: dpt

Starting Zorro - 10/21/17 14:51

Hi,
first of all, thanks for sharing this software.
So I just installed, and I complete new with zorro but not with soft and market, and it seems it doesn't work. (I'm sure it works, but I don't know how).
If I try to do a test or a training, I have err 055 history missing.
I understand I don't have history, i agree, but Please
how can I have history? and wihich format?
Can I copy some history file? if yes which directory?
Market must be open or not for use it?

Thanks in advance.
Posted By: Brax

Re: Starting Zorro - 10/21/17 19:20

Hi dpt,

In order for strategies to run, you must download historical data from your broker or a data provider like Stooq for example.

Here in http://zorro-project.com/download.php at the end, you can find and download free data from Oanda for several assets. Copy the content in your History folder.

If you want to download/update your historical files you must use the function assetHistory:

http://zorro-project.com/manual/en/loadhistory.htm

Those are the basics.
Posted By: dpt

Re: Starting Zorro - 10/22/17 08:24

Thanks so much for your answer,
my english is not so good and I'm not sure to understand all the explanations.
So I understood the data are or in dayli name.t6 or in m1 nameyear.t6 or in ticks, but if I have hour data?? How can I do? I can't?

Thanks again!!
Posted By: kmerlo

Re: Starting Zorro - 10/22/17 09:28

I am not an expert but from my knowledge I am pretty sure that Zorro use data in this form: tick,1 minute, daily

I never have used the ticks so I do not know well...
But if you want a TradingSystem that "think" in Hours, you must have the data in 1 minute and then use the command "Barperiod=60"

I hope this explanation helps you

Bye
Posted By: sodiumchloride

Re: Starting Zorro - 10/22/17 10:25

hey dpt, welcome to zorro laugh

SO first of all, training and testing is sth very different. then im curious about which script and asset combination did u ty?

downloading history is very easy. log in with broker data and use the download script. it copys the files to \ZorroHistory

if u select the download script and press test u can chose between tick(t1),1min(t6) or stooq data f.e. even if tickdata is only available in zorro S - for the beginning 1min data is absolutly fine.

the second script about data u must know is "CSVExport" which creates a CSV file as u wish to have it. u can modified it as u please to get alternative formats like yyy.mm.dd hh:MM

Quote:
string Format = ifelse(assetType(Asset) == FOREX,
"n%04i.%02i.%02i %02i:%02i, %.5f, %.5f, %.5f, %.5f",
"n%04i.%02i.%02i %02i:%02i, %.1f, %.1f, %.1f, %.1f");
char FileName[40];


and u can download the history from the zorro main page.

greetings
Posted By: dpt

Re: Starting Zorro - 10/22/17 13:05

Hi and thanks for all,
That I wanted to do, it's to use some datas I already have, and they are in data frame 60.
But now it's ok, I downloaded the 1 min data from home zorro page, and I will add the datas miss from my broker or from tickstory.

Thanks again for your help.
© 2024 lite-C Forums