I remember that my monthly fixed investment is 1. Although the share will be reflected in a few days, the increased share will be calculated as 1.
In other words, during the period from placing an order to seeing the share, the increase at this time is yours, because you have already applied for buying.
When you sell, until you see the share decrease, then the increase is not yours, because you have already sold it.