Suppose I have shares of the same script both in my positions and holdings. Now, if my algorithm finds that it is the right moment to sell from Holdings (and not Positions) - how can I make that happen? Every sell order (including GTT) first sells from Positions.
The exchange will settle the shares intraday, and any residual shares will be settled from holdings. Say you have 100 shares in holdings and 100 shares bought today (positions); when you place a sell order for 100 shares, the positions will get netted off. At the end of day, since there are no shares to take from you, your demat holdings remain unchanged. This is how income tax rules are defined too. Read more.
The exchange will settle the shares intraday, and any residual shares will be settled from holdings. Say you have 100 shares in holdings and 100 shares bought today (positions); when you place a sell order for 100 shares, the positions will get netted off. At the end of day, since there are no shares to take from you, your demat holdings remain unchanged. This is how income tax rules are defined too.
Read more.