Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (ozgur, TipmyPip), 722 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Something wrong with markowitzReturn()? #482458
02/08/21 21:18
02/08/21 21:18
Joined: Mar 2018
Posts: 8
V
VHX Offline OP
Newbie
VHX  Offline OP
Newbie
V

Joined: Mar 2018
Posts: 8
Hi,
I am using Zorro 2.30 and tried to test the Markowitz scripts from https://financial-hacker.com/get-rich-slowly/.
In order to get the 'MarkowitzTest.c' running I had to pass 100 instead of 1:

markowitzReturn(Weights,100);

Also the EFrontier.c does not work correctly (at least I get too low numbers).

Any ideas?

Thanks

VHX

Re: Something wrong with markowitzReturn()? [Re: VHX] #482481
02/11/21 16:43
02/11/21 16:43
Joined: Feb 2021
Posts: 5
Joliette, Qc. Canada
mitch1179 Offline
Newbie
mitch1179  Offline
Newbie

Joined: Feb 2021
Posts: 5
Joliette, Qc. Canada
Hi VHX

In the Zorro manual, under Function, trading, Markowitz, there is a lot of explanation that may be can help you.

Re: Something wrong with markowitzReturn()? [Re: VHX] #482542
02/21/21 18:20
02/21/21 18:20
Joined: Mar 2018
Posts: 8
V
VHX Offline OP
Newbie
VHX  Offline OP
Newbie
V

Joined: Mar 2018
Posts: 8
Hi,
just for the sake of completeness. I've been informed by Zorro support that markovitheReturn() has changed. In earlier version there was a normalization and 1 corresponded to a large variance. Now you have to use large values (100-1000) to get the maximum return.

Another point: The EFrontier.c script in the 2016 script repository does not work as expected, the heatmap works but the graphic shows too low values. That is because the scripts calculates daily values, whereas on the Financial Hacker blog annual values are shown.

For an expert maybe easy to figure out.

VHX


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