Custom project task "Filter by correlation" have a few bugs and some features need improvement

bugs:

1.After my testing, I found that the Custom project task "Filter by correlation" cannot actually filter out strategies with correlations exceeding the preset value after running. The strategy after each filtering is the same as before and after filtering. I can effectively filter the same databank using the previous Filter by Correlation databank plugin.

2.The databank includes Source, Target, and Existing. Every time I modify the corresponding databank, as long as I simply switch between tasks or projects and return to Filter by correlation task, I will find that the previously set Source databank returns to the default Results databank.Unable to save modified databank.
Features:
1.This Filter by Correlation task is very good and can serve as a supplement to the Automatic Portfolio builder Task. Because the automatic portfolio builder generates portfolios, while the Filter by Correlation task generates individual strategies, the latter has a wider range of applications.
2.The current Filter by Correlation task still lacks the ability to set parameters based on a certain metric rank and maximum strategies to store in databank. 
3.Referring to the design of the Automatic Portfolio Builder task, there can also be data range settings.
Please refer to the attached image for details.

Best regards.



Attachments
Filter by Correlation features needed.jpg
(182.89 KiB)
  • Votes +4
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

4
#1

Jordan

04.12.2023 14:30

Task created

t
#2

tnickel

07.12.2023 10:58
Voted for this task.
4
#3

Jordan

11.12.2023 04:42

Attachment correlation 026.jpg added

Attachment correlation fltered .jpg added

correlation 026.jpg
(235.47 KiB)
correlation fltered .jpg
(327.99 KiB)
4
#4

Jordan

11.12.2023 04:48
Voted for this task.
4
#5

Jordan

13.12.2023 02:46
Thank you, Mark.
Rr
#6

Partizanas

15.12.2023 21:01
Voted for this task.
RL
#7

rickliao

18.12.2023 07:06
Voted for this task.
TT
#8

Tamas

19.12.2023 14:04

Status changed from New to Refused

Attachment image-0.png added

image-0.png
(224.98 KiB)
Hello,  


I think you are misunderstanding how it works.

Here is a link to doc 

https://strategyquant.com/doc/programming-for-sq/example-plugin-a-complete-custom-project-task


There is a good explanation

This task does a simple job – it compares strategies from Source databank with existing strategies in Existing databank and copies those that have lower than allowed correlation into Target databank.


In your screen the Existing databank is empty.


Sincerely,

Tamas

4
#9

Jordan

22.12.2023 08:58
Hi Tamas,

I have read this document before, and it states that the custom project task is an extension of the previous databank plugin. The functionality that the previous databank plugin was able to implement is currently not available in the task, which means that there is no need to filter the existing strategies in the databank based on the existing databank. This feature is exactly what I need more.

In addition, the bugs and features I mentioned later are independent of the issues you mentioned, please pay attention to them:

bugs:

2.The databank includes Source, Target, and Existing. Every time I modify the corresponding databank, as long as I simply switch between tasks or projects and return to Filter by correlation task, I will find that the previously set Source databank returns to the default Results databank.Unable to save modified databank.
Features:
1.This Filter by Correlation task is very good and can serve as a supplement to the Automatic Portfolio builder Task. Because the automatic portfolio builder generates portfolios, while the Filter by Correlation task generates individual strategies, the latter has a wider range of applications.
2.The current Filter by Correlation task still lacks the ability to set parameters based on a certain metric rank and maximum strategies to store in databank. 
3.Referring to the design of the Automatic Portfolio Builder task, there can also be data range settings.
Please refer to the attached image for details.

Best regards.


4
#10

Jordan

04.01.2024 08:08
https://roadmap.strategyquant.com/tasks/sq4_010569

Hi Tamas,

I have reorganized my thoughts and provided an example. Could you please take a closer look.


Best regards.



Votes: +4

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please