Let us say i have 3 trasactions for month: 1 deposit and 2 withdrawls.
Starting balance $10,000 shares.
#shares
12/1/22: 10,000
12/10/22: 12,000
12/20/22: 8,000
12/30/22: 6,000
12/31/22: dividend payout = 0.0035/share
how much dividend will be collected for the month?
Is following calculation correct: payout= $33.42
date amount held for #days dividend
12/1/2022 10000 9 $10.16
12/10/2022 12000 10 $13.55
12/20/2022 8000 10 $9.03
12/30/2022 6000 1 $0.68
12/31/2022 total payout $33.42
Or will dividend be 6000 x 0.0035 = $21
What if I sold out on 12/30/22?
What if I have 0 starting balance & i purchase 10K on 12/30/22?
