Enter your profits and losses separately for each trading type. Your broker's P&L report has these figures — look for "realized gains" and "realized losses" for the full year.
Treated as non-speculative business income. Losses can be offset against other business income and carried forward 8 years.
Buying and selling the same stock on the same day. Speculative income — losses can only be offset against other speculative gains, not against F&O or salary.
Gold, silver, crude oil, agricultural commodities — treated as non-speculative business income.