Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. S2108014
    3. Posts
    • Profile
    • Following 0
    • Followers 6
    • Topics 5
    • Posts 74
    • Best 1
    • Groups 0

    Posts made by S2108014

    • HOW CAN A SUB BROKER GIVE CODING SERVICES

      Dear Team ,
      As an Angel One Authorised Person as well as a Python coder, I want to offer my clients customized Python code solutions according to their requirements, which are also properly backtested. I also want to automate these codes using the API. As an AP, how can I provide these codes to all my clients? What formalities or procedures are required for this?

      Additionally, if I am able to provide code to my clients, how can I run multiple clients' codes simultaneously?

      posted in General Discussion
      S2108014
      S2108014
    • RE: getting the next expiry dates

      I too used web scraping to get upcoming expiry. Little code of Scrapy or BeautifulSoup does the job very well.

      posted in General Discussion
      S2108014
      S2108014
    • RE: WebSocket response

      @admin Python SDK version 1.2.5

      posted in General Discussion
      S2108014
      S2108014
    • WebSocket response

      @rajanprabu How many ticks you receive per second for a single symbol? I'm getting more than 3 ticks/sec for a symbol.

      @admin Why I'm getting more than 1 tick/sec. Anything changed in WebSocket response ? Also WebSocket getting closed randomly.

      posted in General Discussion
      S2108014
      S2108014
    • RE: web sockets working today ?

      @admin

      (2021-05-18 14:44:42,193)  -  (Connection error: 1006 - connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake))
      (2021-05-18 14:44:42,194)  -  (Connection closed: 1006 - connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake))
      

      WebSocket not working. It's getting closed and won't reconnect automatically.

      posted in Python SDK
      S2108014
      S2108014
    • RE: Task "mw" not provide complete data, socket closed randomly

      @admin I still facing the same issue today.
      When this problem get resolved ?

      posted in Python SDK
      S2108014
      S2108014
    • RE: Task "mw" not provide complete data, socket closed randomly

      @admin
      Same thing happening with me too.

      Log message

      2021-05-05 12:03:43,170 - Connection error: 1006 - connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake)
      2021-05-05 12:03:43,170 - Connection closed: 1006 - connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake)
      
      

      @admin Any update on this ?

      posted in Python SDK
      S2108014
      S2108014
    • RE: Multiple HB failure and order book fetch issue

      @rajanprabu Yes....I too faced issue on my local machine.

      posted in Python SDK
      S2108014
      S2108014
    • RE: Websockets not working ?

      @rajanprabu Yes, I'm using Python SDK

      posted in General Discussion
      S2108014
      S2108014
    • RE: Websockets not working ?

      @admin & @rajanprabu Yes...I observed the same.

      posted in General Discussion
      S2108014
      S2108014
    • RE: How to get fed_token and how to use token and task and how to subscribe and unsubscribe a script?????

      @ashmita_ said in How to get fed_token and how to use token and task and how to subscribe and unsubscribe a script?????:

      I'm not found instrument like Reliance_EQ,

      Do you converted json into csv ?

      You should use RELIANCE-EQ for equity.
      RELIANCE25MAR21FUT for current month contract

      Can you share your code, so we can help you.

      posted in General Discussion
      S2108014
      S2108014
    • RE: How to get fed_token and how to use token and task and how to subscribe and unsubscribe a script?????

      @ashmita_

      To subscribe multiple scrips at same time, use following format:

      "nse_cm|2885&nse_cm|5285&nse_cm|2521&nse_cm|2854"
      

      It should be separated by &

      Getting token list:

      @ashmita_ said in How to get fed_token and how to use token and task and how to subscribe and unsubscribe a script?????:

      Some one give me this link https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json but it's looks messy and confusing I can't understand how can I use it sir......

      @rajanprabu answered your query in above post which is easiest approach to get scrip names and token lists.

      posted in General Discussion
      S2108014
      S2108014
    • RE: How can i use this with dart(flutter)?

      @rajanprabu
      No offence but if you closely look, you will get idea of why I'm creating multiple posts. I'm replying to particular post of questioner not creating double posts, because mostly on this forum, people who ask questions are either novice or they have no experience at all. So if I add everything in one post it confuse them further.

      posted in General Discussion
      S2108014
      S2108014
    • RE: How can i use this with dart(flutter)?

      @rajanprabu
      Ok, I'll consider this next time.

      Earlier, sometimes this happened due to 3600 sec (1hr) limit. Sometimes I had to add more points later when it come to my mind, but this limit won't let me to do it. :face_with_rolling_eyes:

      posted in General Discussion
      S2108014
      S2108014
    • RE: How can i use this with dart(flutter)?

      @91priyansh
      Dart / Flutter is not officially supported. But you can use any officially supported SDK and further use it in your app.

      posted in General Discussion
      S2108014
      S2108014
    • RE: How can i use this with dart(flutter)?

      @91priyansh
      How you accessing WebSocket ? By using official SDK's or by using pure WebSocket protocol and HTTP ?

      Also share your code here to get more help.

      posted in General Discussion
      S2108014
      S2108014
    • RE: automatically placing duplicate order

      @panda1234
      Share your code here to troubleshoot your issue.

      posted in Python SDK
      S2108014
      S2108014
    • RE: Can't stop reactor that isn't running.

      @kiran1808 said in Can't stop reactor that isn't running.:

      how to automatically exit the program after printing LTP only once?

      If your sole objective is to print LTP once, then you should use ltpData function.

      obj.ltpData('exchange', 'tradingsymbol', token)
      

      It prints LTP only once.

      posted in Python SDK
      S2108014
      S2108014
    • RE: Order execution and fetch erros

      @rajanprabu
      Thank you sir.
      Day by day your contribution to this forum helping us immensely.

      posted in General Discussion
      S2108014
      S2108014
    • RE: Order execution and fetch erros

      @rajanprabu said in Order execution and fetch erros:

      It took roughly 70 ms today ( from Mumbai aws ). This is great improvement from the past

      Did you use same datetime function from python to measure time required to complete your request ?

      posted in General Discussion
      S2108014
      S2108014