Not able to fetch live pnl

Dear Sir, I am unable to get live pnl in my Algo code>
I am using the mentioned command
live_pnl = tsl.get_live_pnl()

Please guide