TradeSmart works by calculating the number of units outside of STCG window (1 Yr from purchase date in equity funds and 3 Yr from purchase date in debt funds). You can read about TradeSmart here