Speculative transaction is a transaction of purchase or sale of a commodity including stocks and shares settled otherwise than by actual delivery or transfer of the commodity or scrip (Section 43(5) of the Income-tax Act)
Example: In the case of intra-day trading in shares, there is no actual delivery as the shares enter and exit from the trading account on the same date and it does not enter the DEMAT account at all. Intra-day trading is the trading of shares within the same day. Generally, the delivery is not taken in case of intra-day trading. Thus, they are called speculative transactions.
Firstly check the nature of your transaction then only decide what to do