Clarification on Profit Calculation and Balance Update Behavior in StrategyQuant
返信 0 件
こんにちは、,
I’ve been analyzing the behavior of how StrategyQuant X calculates profits and updates the account balance during backtests, and I’ve noticed something that seems incorrect or at least very misleading.
It appears that when a trade closes, SQX adds the entire final value of the position (i.e., invested capital + profit) to the account balance, instead of just adding the profit. This results in the balance increasing disproportionately, especially when using a fixed percentage of the account for position sizing, in other size management appear tpo happens though.
例えば:
If I invest $1000 and the price doubles, the position is worth $2000.
The correct profit is $1000, and the balance should become previous balance + $1000.
But SQX seems to treat this as a $2000 gain, increasing the balance to previous + $2000.
This behavior completely distorts performance metrics and makes strategy evaluation unreliable.
Important note:
I’ve checked that I’m using proper money management settings (e.g., fixed % per trade, stop-loss defined), and I even tested with “Lot if no MM” set to zero.
質問:
Is this a known issue or intended behavior?
Is there a workaround or recommended setting to make sure only profits (not full trade value) are added to the balance?
Could it be related to the way StrategyQuant handles assets like HBAR with low nominal prices (although it happns in BTC and other assets?
Will this be addressed in future updates?
Attached strategy and trades list
Thanks in advance for the clarification.
よろしくお願いいたします。,
Henry
0