Navigation

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

    pavank

    @pavank

    0
    Reputation
    12
    Posts
    9
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    pavank Follow

    Best posts made by pavank

    This user hasn't posted anything yet.

    Latest posts made by pavank

    • RE: unknown bio failure

      @rajanprabu @admin I'm facing the same issue since last week every 10-15 min.

      please do needful

      posted in Python SDK
      P
      pavank
    • Websocket closing frequently

      @admin websocket is closing after 10-15 min with error

      1006
      connection was closed uncleanly (peer dropped the TCP connection without previous WebSocket closing handshake

      this is happening from last Tuesday every 10-15 min

      please do needful ASAP.

      posted in Python SDK
      P
      pavank
    • RE: Web socket scripts stop at random times

      @admin I'm also facing this issue, WebSocket connection closes at random times. around 11AM or around 1:30 PM or around 2:30 PM. sometimes it stops multiple times a day. It happens almost daily.

      posted in Python SDK
      P
      pavank
    • RE: NOFTY50 symboltoken to fetch historical data

      @gurindersinghcs

      token:"26000"
      symbol:"NIFTY"
      name:"NIFTY"
      expiry:""
      strike:"-1.000000"
      lotsize:"-1"
      instrumenttype:""
      exch_seg:"NSE"
      tick_size:"-1.000000"

      you can get token from scrip data

      posted in General Discussion
      P
      pavank
    • RE: getCandleData() missing 1 required positional argument: 'historicDataParams'

      @Boofy you need to login before requesting historical data.

      posted in Python SDK
      P
      pavank
    • improper historical data

      @admin I'm requesting for one minute data, below is the response

      2019-01-02T13:50:00+05:30,950.50,950.50,950.50,950.50,2
      2019-01-02T14:04:00+05:30,950.50,950.50,950.50,950.50,2
      2019-01-02T14:05:00+05:30,950.50,950.50,950.50,950.50,8
      2019-01-02T14:15:00+05:30,950.05,950.05,948.80,948.80,48
      2019-01-02T14:35:00+05:30,948.80,948.80,948.80,948.80,10
      2019-01-02T14:38:00+05:30,948.60,948.60,948.60,948.60,50
      2019-01-02T14:43:00+05:30,948.60,948.60,948.60,948.60,2
      2019-01-02T14:54:00+05:30,954.00,954.00,954.00,954.00,36
      2019-01-02T15:15:00+05:30,954.05,954.05,954.05,954.05,1
      2019-01-02T15:19:00+05:30,954.05,954.05,954.00,954.00,11
      2019-01-02T15:24:00+05:30,950.20,950.20,950.20,950.20,1
      2019-01-02T15:25:00+05:30,954.05,954.05,954.05,954.05,30
      2019-01-02T15:27:00+05:30,954.05,954.05,954.05,954.05,4

      posted in Bugs
      P
      pavank
    • historic data format issue

      2019-01-02T15:26:00+05:30,954.05,954.05,954.05,954.05,30
      2019-01-02T15:28:00+05:30,954.05,954.05,954.05,954.05,4
      2019-01-02T15:30:00+05:30,969.00,969.00,959.30,959.30,352019-01-02T15:30:00+05:30,969.00,969.00,959.30,959.30,35

      @admin duplicate data at session end and no separator

      posted in Bugs
      P
      pavank
    • token's validity period

      @admin for how long feed token, jwt token and refresh token are valid??

      also is there any limit on how may instruments we can subscribe through WebSocket at once??

      posted in General Discussion
      P
      pavank
    • RE: not receiving proper WebSocket data

      @admin, i found the issue, in token i have misspelled nse_cm, but i think there should an error msg stating invalid token.................

      posted in Bugs
      P
      pavank
    • not receiving proper WebSocket data

      I’m trying to access data from web socket using smartapi-python, but I’m only receiving heartbeat data and some other data. Please do needful.

      Request:
      client_code="********" #client code is set in actual script
      task="mw"
      token="nsc_cm|15083"
      ss = WebSocket(feed_token , client_code)
      def on_tick(ws, tick):
      for feed_data in tick:
      print(feed_data)
      def on_connect(ws, response):
      print("connecting websocket")
      print(task)
      ws.send_request(token,task)

      def on_close(ws, code, reason):
      print("closing websocket")
      ws.stop()

      ss.on_ticks = on_tick
      ss.on_connect = on_connect
      ss.on_close = on_close
      ss.connect( )

      Note: login successful and feed token set

      Response:
      {'ak': 'ok', 'msg': 'connected', 'task': 'cn'}
      {'ak': 'ok', 'msg': 'mw', 'task': 'mw'}
      {'ak': 'ok', 'msg': 'heartbeat', 'task': 'hb'}
      {'name': 'tm', 'tvalue': '12/03/2021 10:13:05'}
      {'name': 'tm', 'tvalue': '12/03/2021 10:13:06'}
      {'name': 'tm', 'tvalue': '12/03/2021 10:13:07'}
      {'name': 'tm', 'tvalue': '12/03/2021 10:13:08'}
      {'name': 'tm', 'tvalue': '12/03/2021 10:13:09'}
      {'name': 'tm', 'tvalue': '12/03/2021 10:13:10'}
      {'name': 'tm', 'tvalue': '12/03/2021 10:13:11'}
      {'name': 'tm', 'tvalue': '12/03/2021 10:13:12'}
      {'name': 'tm', 'tvalue': '12/03/2021 10:13:13'}
      {'name': 'tm', 'tvalue': '12/03/2021 10:13:14'}

      posted in Bugs
      P
      pavank