Apply Commissions to PnL and PnL Percentage.#1279
Conversation
|
Will take up This should fix the |
|
Why not apply the same subtraction ( Not much should change other than some test values? 🤔 |
This would work for |
56681cf to
c163803
Compare
|
Let's merge this? As mentioned above
|
|
Thanks! The implementation is convoluted and bug-prone, but it's been like that before. I also notice there are few tests covering trading with commissions applied. But now at least the two properties are consistent with each other. Thanks again! |
That's the reason I just wanted to go for |
* Apply Commissions to PnL. * Account for Commissions in Trade.pl_pct.
No description provided.