About profit and loss for the current trading

Hello sir/Madam can you please suggest me api which can gives a current trading profit and loss according to the kite code scripts. i mean the total status of the stock which is traded today and no matter which is open or completed i just need profit and loss statement .. do you have any api exist regarding this?
This discussion has been closed.