New databank column problem
3 replies
forthekingforex
10 months ago #291695
https://strategyquant.com/codebase/return-max-drawdown-max-intraday-drawdown-or-trade-drawdown/
I put it to my sqx with code dieter,and I compile the code successful.
and open the column in databank, but why all ProfitMaxDD data show 0?
Could anyone help? thank you so much
1
tomas262
10 months ago #291739
It works for me well. See the image
0
Adam_J
10 months ago #291812
<article class=”text-token-text-primary w-full focus:outline-none [–shadow-height:45px] has-data-writing-block:pointer-events-none has-data-writing-block:-mt-(–shadow-height) has-data-writing-block:pt-(–shadow-height) [&:has([data-writing-block])>*]:pointer-events-auto [content-visibility:auto] supports-[content-visibility:auto]:[contain-intrinsic-size:auto_100lvh] scroll-mt-[calc(var(–header-height)+min(200px,max(70px,20svh)))]” dir=”auto” tabindex=”-1″ data-turn-id=”request-690c6575-b828-832d-b368-a849422e6060-17″ data-testid=”conversation-turn-208″ data-scroll-anchor=”true” data-turn=”assistant”>
</article>
0
Julian Gonzalez
10 months ago #291833
I had the same problem!
It seems the compute() function only updates when you force the strategy to be backtested again (retesting it or generating a new strategy). Instead, getNumericValue() and getValue() functions does not need it.
Hope this helps! 😉
1
Viewing 3 replies - 1 through 3 (of 3 total)