In intraday How to sell first in equity on pi

Use product type MIS to sell first in equity. If you use CNC, the system will only allow you to sell if you have the shares in your demat account. When you use MIS, it will be auto squared off at 3:20 PM to avoid penalty due to non delivery.