Code for pi based on time

Please elaborate. What is your exact requirement

Hi Madhav, Tradescript doesn’t have inbuilt Time Function. So code based on Time not possible.