In such cases with both positive numbers I use this formula:
pct_chg = endval / startval * 100 - 100
ie. for the above case:
pct_chg = 100 / 25 * 100 - 100 = 300 (not 400%)
I see. But I think in this simple case of just 1 position from t0 to t1 it's both the same:
"percentage gain in PL" and "percentage gain in the account".
I practically mean the account change in percent of such a single position,
but as said with negative numbers at both t0 and t1, where t1 > t0.
And: I wonder if there exist a math formula that covers all cases (incl. negative values) of such percent calculations.
The page(s) about "percentage" at Wikipedia don't even mention any negative numbers, so they were useless in this case. :-(
In such cases with both positive numbers I use this formula:
pct_chg = endval / startval * 100 - 100
ie. for the above case:
pct_chg = 100 / 25 * 100 - 100 = 300 (not 400%)
I see. But I think in this simple case of just 1 position from t0 to t1 it's both the same:
"percentage gain in PL" and "percentage gain in the account".
I practically mean the account change in percent of such a single position,
but as said with negative numbers at both t0 and t1, where t1 > t0.
And: I wonder if there exist a math formula that covers all cases (incl. negative values) of such percent calculations.
The page(s) about "percentage" at Wikipedia don't even mention any negative numbers, so they were useless in this case. :-(
"Percentage gain in PL" and "percentage gain in the account" are not the same thing. I doubt that you really want to know the percentage gain in PL, but I'll never say never.
If I change the example to PL at t1 = $0 and PL at t2 = $100, then your percentage gain in PL is undefined (or infinite if you want to define it that way) but I doubt this is of much value to you.
You need to think through your use case carefully and then you'll know how to define percent change for your application.
Most (all?) traders care about their PL relative to their account size, the amount at risk, the notional contract size, and/or the amount of margin they put up, etc., not relative to some other PL in dollar units. I think it's likely that you are solving the wrong problem.
That said, the generally accepted formula for percent change uses the starting point as the denominator. In the case of negative PLs, you are discussing losses, not profits, and so you can change the sign and change the unit to "loss": A "profit" of -$200 is equivalent to a loss of +$200 and a "profit" of -$100 is equivalent to a loss of +$100.
So, moving from a "profit" of -$200 to a "profit" of -$100 is equivalent to moving from a loss of $200 to a loss of $100 which is a 50% reduction in loss (as many have already pointed out). (100 - 200) / 200 * 100 % = -100/200*100 % = -50% = reduction of loss by 50%.
I would argue that it does not make sense in this context to discuss the change in profit since there never was a profit. That is, personally, I would not define a formula for "percentage change in PL" across negative and positive values and would instead treat profits and losses as separate situations. It is meaningless to talk about the "percent change in PL" from -$200 to +$100, for instance. You COULD come up with a definition, but I don't think it would provide CLARITY, which is the ultimate objective of applying mathematics.
Applied math is meant to make sense of real world situations; you can create formulas and define terms however you like, but real world utility should be the guiding principle, not the "official" formula.
To quote the late, great George Box, "All models are wrong, but some are useful." Use mathematics, but don't be a slave to it.
Good luck with the startup!!
