Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    👍 Working code to get Open,Close,High,Low,Ltp price.

    Python SDK
    4
    6
    176
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      djdenish last edited by

      Just put Your CLient ID, Password and API key in below code and enjoy.
      Working Code.PNG

      1 Reply Last reply Reply Quote 0
      • S
        sudhakar last edited by

        do I need to give CLIENT_LOCAL_IP, CLIENT_PUBLIC_IP and all?

        A D 2 Replies Last reply Reply Quote 0
        • A
          admin @sudhakar last edited by admin

          Hi @sudhakar you can go to https://pypi.org/project/smartapi-python to know how to establish a connection.

          1 Reply Last reply Reply Quote 0
          • D
            djdenish @sudhakar last edited by

            @sudhakar
            No, You dont have to put all that stuff, Just put Client ID,Password and API key.

            1 Reply Last reply Reply Quote 0
            • S
              sudhakar last edited by

              Is there any way to get the token code dynamically for Bank nifty option strikes

              S 1 Reply Last reply Reply Quote 0
              • S
                Surya 1 @sudhakar last edited by

                @sudhakar

                I normally read the json in pandas and search there.. this works fine for me.. I download the instrument file every Friday before market open..

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post