Gamestudio Links
Zorro Links
Newest Posts
long time to load data
by qin. 12/29/25 14:06
The new evaluation shell
by jcl. 12/29/25 09:56
about Zorro S (monthly)
by AndrewAMD. 12/29/25 03:24
Xor Memory Problem.
by TipmyPip. 12/26/25 19:14
ZorroFix. ini /data and /log path
by Martin_HH. 12/19/25 21:02
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 3,954 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Syndrela, HDRSEO, AOUNZA, digitalboy381, agasior
19190 Registered Users
Active Threads | Active Posts | Unanswered Today | Since Yesterday | This Week
Starting with Zorro
Yesterday at 14:06
I am testing stock portfolio strategy in the black book, see below. I have downloaded stock data to the .t6 files. But when I ran the strategy, it took 4 minutes to load data, is this normal? I am using zorro free version.

Code
// Simple portfolio rotation /////////////
//////////////////////////////////////////

#define RISK	0.7	// no risk, no fun

var Momentums[100],Weights[100];

void run() 
{
	set(PLOTNOW|LOGFILE);
	StartDate = ifelse(Live,NOW,20120101); 
	EndDate = 20251231;
	BarPeriod = 1440;
	LookBack = 100;
	SaveMode = 0;
	
	assetList("AssetsSP50");
	Capital = slider(1,10000,0,20000,"Capital","");
	
	for(listed_assets) { 
		asset(Asset);
		vars Prices = series(priceClose());
		Momentums[Itor] = ROC(Prices,LookBack-1);
	}

	if((Live && !is(LOOKBACK))
		|| (Test && tdm(0) == 1 && month(0)%2)) // first trading day of every second month
	{
		distribute(Weights,Momentums,NumAssetsListed,5,0.5); 
		rotate(0);	// exit old positions
		rotate(1);	// enter new positions
	}

	if(Live && !is(LOOKBACK)) quit("Ok!");
}
0 23 Read More
Starting with Zorro
Yesterday at 11:31
if only add removed stocks to asset list file seems not enough. Because at first, it was not in the index then it came in the index, and then it is removed from the index. In the script, I need know when it is in the index and when it is not. Is that possible?
2 54 Read More
Zorro Future
Yesterday at 09:56
A late christmas gift: The current Zorro beta version 2.73 comes with the new evaluation shell. It can greatly speed up strategy development and improve most strategies. Details: https://zorro-project.com/manual/en/shell.htm.
0 30 Read More
Starting with Zorro
Yesterday at 09:37
"Normalized" in that case means adjusted to a 3 years average. In the case of drawdown, it is multiplied with the square root of (3 / test period in years).
1 54 Read More
Starting with Zorro
Yesterday at 03:24
No, your Zorro S expires in that case. It’s a subscription. Keep paying monthly for more Zorro S and updates.
1 40 Read More
Zorro Scripts
12/26/25 19:14
Thank you for your kind words, you can use the ZorroGPT in order to expand the use on different timeframes or simultaneous.
you are most welcome, It would be great if you share your ideas too...
22 9,119 Read More

Gamestudio download | 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