Dear Kingsley,
In share transaction there is a term called T+ 2 Which means Transaction entered today will be settled on day after tomorrow on which day shares will be entered/reduced in/from your demat account depending upon sale/purchase. In case of Intra day trading transaction are squared up during the day so no actual delivery. When you are putting buy order during the its just an instruction to purchase a specified no. of securities at a specified price and the shares that will enter into your basket is virtual, and when u will sell the same no. of shares then your basket will show Zero no. of Shares. so T +2 concept wont, come into Play.
I hope you would have understand now, but if u still have doubts then I suggest u should ask any of your seniors, who are connected with the Share market.