Hi Andrew,
Thanks for your input.
I was thinking about using t6 unadjusted price with fVal column for dividends.
Once I encounter fVal > 0, I need somehow to make an immediate trade maybe with `enterTrade`? to add a profit of `TradeLots * fVal * (1-0.15)`
If use adjusted price there are two issues:
1. I can't deduct taxes from dividends
2. The amount of shares I buy in the past is different (higher) since adjusted price is lower in the past - this means fees are not calculated correctly.
I'll try to work and see if I could tinker something like you did in your article -
https://www.vitaltrades.com/2020/07/14/adding-exact-fee-and-credit-calculations-to-zorro/Thanks for sharing BTW.