ATP in TradeScript

I am using Tradescript in Zerodha Pi.
image

How do code to get this ATP.
Isthere a direct command for it ?