READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

New databank column problem

3 replies

forthekingforex

Subscriber, bbp_participant, 7 replies.

Visit profile

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

Administrator, sq-ultimate, 2 replies.

Visit profile

10 months ago #291739

It works for me well. See the image

Attachments:
You must be logged in to view attached files.

0

Adam_J

Subscriber, bbp_participant, 6 replies.

Visit profile

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”>

<p data-start=”0″ data-end=”324″ data-is-last-node=”” data-is-only-node=””>Looks like it only worked for me after restarting SQX and recompiling all the blocks. You might also want to try clearing out any old cached data in the databank before opening the column, that helped me get the correct values showing up. Sometimes SQX holds onto outdated info, so a clean refresh can make a big difference.</p>

</article>

0

Julian Gonzalez

Subscriber, bbp_participant, sq-ultimate, customer, community, 8 replies.

Visit profile

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)