Brute force optimization shortcut

Hi Mark,



Whist using brute force to calculate portfolios based on correlation, I noticed that the strategies pairs that have already failed the max setting are being included over and over again in the selection.


See attached screenshot.


Clearly, if simple strategy A and B exceed the correlation threshold, then there is no point including that pair together in any other  portfolio calculation.  


A list in memory of pairs that fail can be stored and when creating the next candidate list to calculate, this pair can always be excluded.


This should cut down the number of portfolios to test dramatically, leading to must faster bruteforce processing.


Regards,


Mike

Attachments
QA brute force repeating same pair in porftolio.png
(124.23 KiB)
  • Votes 0
  • Project QuantAnalyzer
  • Type Feature
  • Status Refused
  • Priority Low

History

m
#1

mikeyc

07.10.2018 13:10

Task created

TT
#2

Tamas

14.01.2019 16:48

Status changed from New to Refused

Brute force means that Portfolio master go through all possible combinations.

Correlations are cached so for each unique combination it is computed only once.



Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please