Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by Grant. 02/24/26 22:21
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
ZorroGPT
by TipmyPip. 02/23/26 21:52
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
5 registered members (TipmyPip, clint000, Grant, chsmac85, Martin_HH), 5,858 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Assets.dta not updating #445007
08/26/14 02:35
08/26/14 02:35
Joined: Dec 2013
Posts: 2
S
SteveW Offline OP
Guest
SteveW  Offline OP
Guest
S

Joined: Dec 2013
Posts: 2
Hello, I'm just getting started and this is probably something simple but... when I try to add the AUD/CAD asset per the user guide the asset is added but none of the asset info such as Spread, PIP, Lot Size etc.

1) Edit the Download script
2) Uncomment the #define ADD_ASSET line
3) Change the asset name COPPER to AUD/CAD
4) Comment out the line #define PRICE_HISTORY
5) Comment out the line #define ALL_ASSETS
6) Save the Download.c file
7) Click the Trade button

Here is the text in the message window:
Download compiling................
FXCM.dll => FXCM plugin mounted
Login FXCM....... at UTC 26.08. 01:59
Subscribe asset AUD/CAD
Asset AUD/CAD not found
AUD/CAD updated to Assets.dta
Done!
Logout.. ok

And here is the line that is added to the Assets.dta file
Name Price Spread RollLong/Short PIP PIPCost Margin Lot
AUD/CAD 0.00000 0.00000 0.0000 0.0000 0.0000 0.00000 0.000 0.0


The rest of the lines in Assets.dta looks like they're being copied from AssetsFix.dta since this was the first time anything was run and Assets.dta didn't exist before I ran the Download script.

Does anyone have any idea what may be happening?

BTW, when I uncommented the #define PRICE_HISTORY line and reran it, the 2014 price history did download, but still no change to the line in Assets.dta

Thanks,
Steve

Last edited by SteveW; 08/26/14 02:41.
Re: Assets.dta not updating [Re: SteveW] #445009
08/26/14 03:37
08/26/14 03:37
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi SteveW. Please see this thread http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=444277#Post444277 in the Zorro and the Brokers section.

HTH.

Re: Assets.dta not updating [Re: DdlV] #445159
08/28/14 23:00
08/28/14 23:00
Joined: Dec 2013
Posts: 2
S
SteveW Offline OP
Guest
SteveW  Offline OP
Guest
S

Joined: Dec 2013
Posts: 2
Originally Posted By: DdlV
Hi SteveW. Please see this thread http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=444277#Post444277 in the Zorro and the Brokers section.

HTH.


Thanks DdlV. I read that thread but I have to admit I've never done any strategy or Lite-C programming so I don't understand jcl's work-around "but until then, you can get the AUD/CAD parameters with a script that just connects and then waits a few bars before exiting."

I'll get through the tutorials and workshops and then see if I understand what he's suggesting.

Thanks again,
Steve

Re: Assets.dta not updating [Re: SteveW] #445161
08/28/14 23:18
08/28/14 23:18
Joined: Nov 2013
Posts: 123
Mithrandir77 Offline
Member
Mithrandir77  Offline
Member

Joined: Nov 2013
Posts: 123
Steve, I know programming but I also found it difficult to understand what jcl meant. At first I thought he meant calling loadhistory and waiting a few bars doing nothing but as soon as loadhistory was called the connection with fxcm was closed afaik .


I found that when pressing Test in a script that uses price history from asset which you have in assets.dta coorectly Eurusd for instance and doing something si ple like plotting the price series. That "connects" and waits a few bars and updates assets.dta


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1