Navigation

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

    P81994

    @P81994

    0
    Reputation
    4
    Posts
    2
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    P81994 Follow

    Best posts made by P81994

    This user hasn't posted anything yet.

    Latest posts made by P81994

    • smart web socket only returns Ticks message: [{'ak': 'nk', 'msg': 'hb', 'task': 'hb'}]

      @admin
      here is complete code https://pastebin.com/jMeUVEw1

      only thing its returning is

      2023-01-17 13:23:30.214973 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '0857777383', 'user': 'P81994', 'acctid': 'P81994'}
      Ticks message: [{'ak': 'nk', 'msg': 'hb', 'task': 'hb'}]
      2023-01-17 13:24:00.242836 : Start task in the background
      {'task': 'hb', 'channel': '', 'token': '0857777383', 'user': 'P81994', 'acctid': 'P81994'}
      Ticks message: [{'ak': 'nk', 'msg': 'hb', 'task': 'hb'}]
      
      

      i am not even able to find out what exactly is wrong. there is no proper error response.
      there is no solution available on web or across the forum.

      posted in Python SDK
      P
      P81994
    • getCandleData returns none

      following code returns none for equity token

      try:
      	historicParam={
      	"exchange": "NSE",
      	"symboltoken": "3045",
      	"interval": "ONE_MINUTE",
      	"fromdate": "2023-01-11 09:15", 
      	"todate": "2023-01-12 11:30"
      	}
      	smartAPI.getCandleData(historicParam)
      except Exception as e:
      	print("Historic Api failed: {}".format(e.message))
      
      posted in Python SDK
      P
      P81994
    • User blocked

      @admin
      user account is blocked. Not able to login to enable totp

      posted in General Discussion
      P
      P81994
    • TypeError: 'NoneType' object is not subscriptable

      @admin
      refreshToken = login['data']['refreshToken']
      TypeError: 'NoneType' object is not subscriptable

      posted in Python SDK
      P
      P81994