You’re absolutely on point with yours, @CavanHaganInvesting!
This example isn’t quite as accurate, @daindian, as 0,2 * 5 is a whole number and if you have 1 share outside your pie and 0,2 inside = 1,2 total shares before the split.
Let’s say the split is 5 to 1 = 1,2 * 5 = 6 and there will be no remaining quantity. All new shares after this split are allocated in the following way.
Shares inside the pie (Total shares after the split * Split coefficient/Total quantity before split
) = 0,2 * 5 /1,2 = 0,83 shares inside your pie after the stock split.
Shares outside your pie = Total shares after the split - Shares inside the pie after the split
= 6 - 0,83 = 5,17
The only case where your remaining quantity will be closed at the last available price will be if the Total shares after the split
were fractional (e.g. 6,2 or 6,7) Then the remaining 0,7 or 0,2 will be closed and paid out to you.