Navigation

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

    Best posts made by kp_rahul

    • Alert-only platform: can one connected user's token serve market data for other users' strategies?

      I run an alert-only platform (no order placement at all — users place trades themselves in their own broker).
      Each user connects their own Angel account via publisher login.

      Question: currently market data fetched using one connected user's token is used to
      evaluate strategies for other users too (only index data — NIFTY/BANKNIFTY/FINNIFTY/SENSEX).

      1. Is this permitted under SmartAPI terms, or must each user's strategy be driven only
        by data fetched with that user's own token?
      2. Is there a platform/vendor level data account option for this use case?
      3. Since we never place orders, do the static-IP / algo-provider requirements apply to us at all?

      Thanks. @admin

      posted in General Discussion
      K
      kp_rahul
    • RE: Alert-only platform: can one connected user's token serve market data for other users' strategies?

      @kp_rahul @admin gentle reminder — 4 days, no response yet. This is a compliance question and I'd rather get it right before onboarding users. Even a short pointer to the relevant clause in the SmartAPI terms would help.

      posted in General Discussion
      K
      kp_rahul
    • RE: Unable to get live feed.

      @admin - Thanks. Now I am using below in my code
      AUTH_TOKEN -> jwtToken from response from generateSession('userid', 'password')
      FEED_TOKEN -> refreshToken from response from generateSession('userid', 'password')

      Please confirm if above is not correct, coz still I am getting same response from websockt i.e "Attempting to resubscribe/reconnect...
      In on pong function==> b'\x00'"

      I tried to troubleshoot from my end -> it failing at below step (i.e. row no 310 in smartWebsocketV2.py:

      "token": SmartWebSocketV2._parse_token_value(binary_data[2:27]),

      Can you help me here to understand whats wrong in my inputs ?

      posted in Python SDK
      K
      kp_rahul