Equity Capital Gain/Loss set off with Option Gain/Loss

I have some loss in equity and some profit in options. In this financial year (FY17-18), Can I set off loss of equity with gain of options?

Thanks.