Code for LTP

darsh
darsh edited February 2018 in Python client
Can you help me to write code in python to assign last traded price in variable named current price,for any stock.
  • sujith
    Hi @darsh,
    We are sorry to inform you that we don't provide support for coding.
  • darsh
    thank you for reply.Actually if you can provide API for that then it is fine.i have already referred api docs but it did not help.
  • sujith
    sujith edited February 2018
    You can check out LTP API to fetch the last traded price.
  • darsh
    thanks again. i wrote:
    def ltp(self,instruments):
    return self._get("market.quote.ltp",{"i":instruments})

    i want ltp of NSE:INFY. But i am facing trouble in calling that ltp() function.please help me.thanx
Sign In or Register to comment.