Hello all!
I have a custom factor which I'm using to generate Alpha signals in a pipeline.
The custom factor has several integer parameters (x and y), which are currently set to to two fixed integers.
I know from working with this custom factor in excel that there are a range of integers that will produce Alpha.
In order to increase the quantity of Alpha signals, I'd like to pass the custom factor an array of values to use as the "x" and "y" parameters. ("y" is the window_length)
A horrible way to do this (but probably the only one I'm currently capable of) would be to create a custom factor for each of the x*y permutations (would be over 300 custom factors!).
I've read that "for loops" are a bad idea in the pipe-line. Would this be an exception?
Or would it be possible to create a custom factor that had a multi-dimensional output? (not entirely sure what that means, or how I would reference it back in pipeline).
I've had a good look around on the old posts here and can't really find a similar example.
Any tips and advice appreciated!