Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (degenerate_762, AndrewAMD), 877 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Creating/using a synthetic asset [Re: Zheka] #485171
01/31/22 11:54
01/31/22 11:54
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
A # at the begin of a CSV line is just a comment character. It comments out the whole line.

A # in asset() selects the asset, but does not load or create history. For your multiple dummy assets, we'll change it so that flat history is instead created.

I do not understand that "several symbols" quote either. I'll reword that in the manual.

Re: Creating/using a synthetic asset [Re: jcl] #485174
01/31/22 12:27
01/31/22 12:27
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
Originally Posted by jcl
For your multiple dummy assets, we'll change it so that flat history is instead created.
great, thanks!
So, the usage will be: asset("#USD"); ....priceSet()....and "!!!" in the Symbols field of an asset list to prevent requests to the broker?

Re: Creating/using a synthetic asset [Re: Zheka] #485183
02/01/22 15:20
02/01/22 15:20
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
A symbol won't be needed, dummy assets are not in the asset list and don't send broker requests anyway.

Page 2 of 2 1 2

Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1