Can a strategy result metric like this be added to the codebase?
3 replies
MuSa
4 years ago #279403
I need a strategy result metric to get “max ticket holding on time” or “max ticket time in trade”.
Just like the pic.
Since I don’t know java,wonder if the moderators can add this metric on codabase or send me the code.
0
Tomas Matejka
4 years ago #279588
Hi,
you can use this ´ script that returns Max # Bars in Trade as a databank column download MaxBarsInTrade.java (zipped)
To install copy into \user\extend\Snippets\SQ\Columns\Databanks
Restart SQX
If you want some more scripts the ‘time’ version you can request some coding here https://strategyquant.com/codebase/request-coding/
0
MuSa
4 years ago #279595
Hi, you can use the attached script that returns Max # Bars in Trade as a databank column. To install copy into \user\extend\Snippets\SQ\Columns\Databanks Restart SQX If you want some more scripts the ‘time’ version you can request some coding here https://strategyquant.com/codebase/request-coding/
hi, where is the file, only png?
0
Tomas Matejka
4 years ago #279602
Apologize. The link is added now into my previous post
0
Viewing 3 replies - 1 through 3 (of 3 total)