API/Code to fetch different details of a stock

Hi,

Is there any code or API which can provide me different details about stock like

  • CMP
  • 52-week low
  • 52-week high
  • Industry
  • Volume traded
  • Day's low
  • Day's high
  • and other details

Thanks in advance :)

you can customize code based on requirement go to pi -> help -> Tradescript help,

you will get complete reference with code explanation and syntax, you can make use of it