Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. SKExplorer
    3. Posts
    S
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by SKExplorer

    • RE: Websocket Error - Attempting to resubscribe/reconnect

      @ngk Hello, I also faced the problem suddenly....and what I found was a silly post processing routine execution error(bug)....but the websocket client thinks is somehting to do with "subsciption /unsubscription"...thats all..

      CHECK the following in your code...

      1. can you print the received tick as it is ? ...the printed data should tell you if there is an error ...if printed data shows buy/sell or ltp etc..you have no connection/subsciption problems....

      2. are you calling any function or processing (ie, doing any thing to received data for the strategy...)the received data ?

        if yes, thoroughly check that code...any error in that code will cause an error for websocket client and cause it to fire its on_error...which is "Attempting...."...but the actual error was an execution error in the post processing function/routine....

      Hope it helps...

      posted in Python SDK
      S
      SKExplorer
    • RE: Market Data API-Quote

      @Moderator_2 Hi, I was trying out WebSocket2 as suggested.
      I was successful in the first few attempts to and received ticks...
      but now I get "Attempting to resubscribe/reconnect (Attempt 1)..." and then I get "Connection closed due to max retry attempts reached." consistently.

      I logged out, rebooted the machine but still gets the same error.

      Code sample I am using is the websocket2 example from github.

      posted in Python SDK
      S
      SKExplorer
    • RE: Market Data API-Quote

      @Moderator_2 so basically, rephrasing my question again, you dont provide level 3 data ??? thank you.

      posted in Python SDK
      S
      SKExplorer
    • RE: Market Data API-Quote

      @Moderator_2 my question was , does it give only best five ? not 20 ?

      posted in Python SDK
      S
      SKExplorer
    • Market Data API-Quote

      Does the quote API give only best 5 buy/sell quantities ???

      posted in Python SDK
      S
      SKExplorer