Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Trading Journey
by howardR. 04/24/24 20:04
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, wandaluciaia, 1 invisible), 798 guests, and 6 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
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