Yes, the taxes at the rate of 20% as per section 111A of the Income Tax Act will apply to the STCG from sales of shares through recognized stock exchange i.e. STT paid.