When is the loss debited from or profit credited to my account?

The losses you’ve made in trading, are immediately debited from your trading account.

The profits you’ve made in intraday trading are credited to your trading account only on the next trading day. Hence, you can withdraw it or use it to trade only on the next trading day. However, you will be able to see these profits reflected in your portfolio on the same day itself.