Navigation

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

    Token List downLoad

    Python SDK
    4
    35
    273
    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.
    • H
      Heena Shah @shrikantshet last edited by

      @shrikantshet
      My account is new account created online not attached to any sub-brokers. Please check client code H104220

      Presently I am using Only Market feed app.
      Order is still under development.
      Do I still have to migrate my account?

      Once after migration , I can use web based desktop application
      also at same time?

      H 1 Reply Last reply Reply Quote 0
      • H
        Heena Shah @Heena Shah last edited by

        @shrikantshet

        Is my version of python & SmartAPI both ok??

        1 Reply Last reply Reply Quote 0
        • A
          admin @Heena Shah last edited by

          Hi @Heena-Shah yes we need it also please go through the documentation https://smartapi.angelbroking.com/docs

          H 1 Reply Last reply Reply Quote 0
          • H
            Heena Shah @admin last edited by

            @admin
            My account is new account created online not attached to any sub-brokers.
            Please check client code H104220 and migrate

            A 1 Reply Last reply Reply Quote 0
            • A
              admin @Heena Shah last edited by

              hi @Heena-Shah said in Token List downLoad:

              My account is new account created online not attached to any sub-brokers.
              Please check client code H104220 and migrate

              your account is migrated.

              H 1 Reply Last reply Reply Quote 0
              • H
                Heena Shah @admin last edited by

                @admin
                generateSession error

                {'status': False, 'message': 'Login Id or password is invalid', 'errorcode': 'AB1007', 'data': None}

                A 1 Reply Last reply Reply Quote 0
                • A
                  admin @Heena Shah last edited by

                  Hi @Heena-Shah Reset your password and try again.

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    Heena Shah @admin last edited by

                    @admin

                    Getting same error after refreshing

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      admin @Heena Shah last edited by

                      Hi @Heena-Shah our team will connect you soon.

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        admin @admin last edited by

                        HI @Heena-Shah your query is resolved as discussed in the meet.

                        H 1 Reply Last reply Reply Quote 0
                        • H
                          Heena Shah @admin last edited by

                          @admin

                          How many token can be added to websocket.

                          Can I send all nse cash tokens??

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            admin @Heena Shah last edited by

                            Hi @Heena-Shah There is no limit to pass tokens.

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              Heena Shah @admin last edited by Heena Shah

                              @admin

                              I getting data for one token
                              but when I pass all nse cash token it is not giving any data
                              Only tvalue is coming

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

                                @Heena-Shah

                                Please share the code that you are using to request the data.. its hard to diagnose without it.

                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  Heena Shah @Surya 1 last edited by

                                  @rajanprabu

                                  f = open("D:\Stockvision\nseToken.txt", "r")
                                  token=f.read()
                                  task="mw"

                                  obj=SmartConnect(api_key=api_key)
                                  login = obj.generateSession(client_code,your_password)
                                  refreshToken= login['data']['refreshToken']
                                  feedToken=obj.getfeedToken()

                                  userProfile= obj.getProfile(refreshToken)
                                  ss = WebSocket(feedToken,client_code)

                                  def on_tick(ws, tick):
                                  print("Ticks: {}".format(tick))

                                  def on_connect(ws, response):
                                  ws.websocket_connection()
                                  ws.send_request(token,task)

                                  def on_close(ws, code, reason):
                                  ws.stop()

                                  Assign the callbacks.

                                  ss.on_ticks = on_tick
                                  ss.on_connect = on_connect
                                  ss.on_close = on_close

                                  p1 = multiprocessing.Process(target = ss.connect())
                                  sys.exit()
                                  p1.start()

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

                                    @Heena-Shah

                                    You may have to upgrade to recent SDK where they done away with multi processing

                                    https://github.com/angelbroking-github/smartapi-python

                                    H 1 Reply Last reply Reply Quote 0
                                    • H
                                      Heena Shah @Surya 1 last edited by

                                      @rajanprabu

                                      I'm facing the websocket disconnection issue after 10 minutes for Python SDK

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

                                        @Heena-Shah

                                        are you receiving data for all tokens now ?

                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          Heena Shah @Surya 1 last edited by

                                          @rajanprabu

                                          Not accepting more than 500 tokens

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

                                            @Heena-Shah

                                            @Heena-Shah said in Token List downLoad:

                                            Not accepting more than 500 tokens

                                            I have tried with all FNO stocks ( ~160).. I had no issues with that..

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