Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (3run, miwok, AndrewAMD, Quad, TipmyPip, fairtrader, 1 invisible), 637 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Add an asset Help! #436501
01/28/14 05:13
01/28/14 05:13
Joined: Jan 2014
Posts: 2
H
HeHa Offline OP
Guest
HeHa  Offline OP
Guest
H

Joined: Jan 2014
Posts: 2
I would like to test my strategy with a different pair, that is not in the zorro asset drop down menu. I have read the manual on how to add new assets but it's not making any sense to me, as this is all new to me. I was wondering if someone would be kind enough to help me. And how to add the asset to the drop down menu. I do know that I would need to edit the download script but I don't know what to edit. Help!!! cry

Last edited by HeHa; 01/28/14 05:26.
Re: Add an asset Help! [Re: HeHa] #436512
01/28/14 07:46
01/28/14 07:46
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
Have you read the description "Step by step - adding a new asset" in the Import/Export chapter? At which step had you difficulties?

http://manual.zorro-trader.com/export.htm

Re: Add an asset Help! [Re: jcl] #436615
01/30/14 03:00
01/30/14 03:00
Joined: Jan 2014
Posts: 2
H
HeHa Offline OP
Guest
HeHa  Offline OP
Guest
H

Joined: Jan 2014
Posts: 2
I am a little confused I have tried what is in the manual, and I am getting no where.
For clarification if I was to add copper would I edit it like this in the script or would I replace "ASSET" with copper?

#ifdef ADD_ASSET "copper" // add single asset
name = ADD_ASSET "copper";

Thank you for your help, by the way. I have a slow learning curve.


Last edited by HeHa; 01/30/14 03:01.
Re: Add an asset Help! [Re: HeHa] #436621
01/30/14 07:59
01/30/14 07:59
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
For adding an asset, only the #define ADD_ASSET "Copper" line must be uncommented. The rest of the #defines can be commented out - or not, it doesn't matter.

"Comment in" or "Uncomment" means activating a line by removing its comment slashes. But before you do anything, make yourself familiar with writing and editing scripts, otherwise it's difficult to follow the descriptions in the manual. Especially you should understand what the Download script does and why you have to uncomment that line. So, before adding any asset, go through the tutorial, at least the first chapters.

For anything you do with Zorro you'll need a script. Without the ability to write scripts, adding an asset makes no sense anyway because you won't have a script that could use that asset.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1