Gamestudio Links
Zorro Links
Newest Posts
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
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, AndrewAMD), 410 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Import data from .csv #471889
03/23/18 07:31
03/23/18 07:31
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Hi all,

Is it possible to import data withon Zorro through csv file?
Convert a .csv in .t6 or .t1 format?

Thanks

Last edited by tradingest; 03/23/18 07:32.
Re: Import data from .csv [Re: tradingest] #471890
03/23/18 13:01
03/23/18 13:01
Joined: Sep 2017
Posts: 235
H
Hredot Offline
Member
Hredot  Offline
Member
H

Joined: Sep 2017
Posts: 235
Yep its possible. It is described in the Zorro manual.

Re: Import data from .csv [Re: Hredot] #471891
03/23/18 13:34
03/23/18 13:34
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Indeed. Much of it is covered here:
http://zorro-project.com/manual/en/data.htm

Also, included with Zorro is a sample script, "CSVtoHistory". You can tailor it to suit your needs.

Re: Import data from .csv [Re: AndrewAMD] #472126
04/09/18 18:52
04/09/18 18:52
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Hi all,

I used the script "CSVtoHistory" but I don't find where the file .t6 is generated.

https://unsee.cc/68f1fa14/

Somebody can you help me?

Last edited by tradingest; 04/09/18 19:19.
Re: Import data from .csv [Re: tradingest] #472127
04/09/18 19:19
04/09/18 19:19
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Open the script and edit it. laugh

Re: Import data from .csv [Re: AndrewAMD] #472128
04/09/18 19:45
04/09/18 19:45
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
I modified the script but I don't see the file .t6
I should see it in History folder hwere is present the .csv file

http://prntscr.com/j30yfn

Can you help me with an example?

Re: Import data from .csv [Re: AndrewAMD] #472332
04/21/18 13:57
04/21/18 13:57
Joined: Apr 2018
Posts: 26
Fuchs Offline
Newbie
Fuchs  Offline
Newbie

Joined: Apr 2018
Posts: 26
Ok, I got just one step further, but am stuck with it. For any other beginner, like me, I tell you what I did so far:

1. Open the history folder and dump in a csv file from http://www.histdata.com
2. Edited the CSVtoHistory script to the name of my CSV file, and renamed string OutName = "testConversion.t6";
3. Run the script - all was good and I see the file "testConversion.t6" in the history folder.

But now I am stuck, because if I run any strategy (whether Z or workshop 4), I can not select the testConversion file from the pulldown menu to the right of the strategy. (btw, I also can not find the selection for the default generated original "USDZAR_2015.t6" file, so it seems not to be the choice of my file, but a general preselection feature I don't know how to deal with.) any help anyone ?

Last edited by Fuchs; 04/23/18 22:18.
Re: Import data from .csv [Re: Fuchs] #472389
04/24/18 15:21
04/24/18 15:21
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
There is probably no tradeable asset with the name "testconversion". So, if you know from which asset and year that file is, simple rename it, like "EURUSD_2017.t6". How to add new assets is described in the manual under "Asset list".

Re: Import data from .csv [Re: jcl] #472568
05/05/18 12:43
05/05/18 12:43
Joined: Apr 2018
Posts: 26
Fuchs Offline
Newbie
Fuchs  Offline
Newbie

Joined: Apr 2018
Posts: 26
Thanks a lot, JCL, I now got myself a first brokers Demoaccount and let Zorro run through the MT4 bridge.
As anticipated it sits there this week and I did not dare to touch it, because it shows in the results that it is alive.
But now is the weekend break and I thought I could use this to play around on Zorro a bit in order to learn more.

However, in order to run any other strategy or backtest I would have to switch of the current Z12 strategy I am running.

So my question is: Can I interrrupt my current trade in my demo-account and later simply resume it from where I left of?
Or will Zorro start the previous strategy from scratch again and all it "learned" from the slowly estabilished equity curve is lost ?

This question is crucial actually, because I should know what happens if my laptop breaks down (after weeks of trading) or I do loose electricity.

Re: Import data from .csv [Re: Fuchs] #472590
05/07/18 10:47
05/07/18 10:47
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Do not interrupt a live system for doing backtests. Just start another Zorro instance for that.

Page 1 of 2 1 2

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1