Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Categories
    3. Python SDK
    Log in to post

    Python SDK

    • R

      Difference between status and orderstatus
      • rajanprabu  

      3
      0
      Votes
      3
      Posts
      198
      Views

      R

      Thanks @admin appreciate it.
    • A

      User Feedback - WebSocket 2.0 Beta Rollout – Python Language
      • admin  

      27
      0
      Votes
      27
      Posts
      1017
      Views

      W

      Hi @asho and @vrkhyd if anyone of you can provide any help on this? Thanks.
    • F

      Get historical price of Nifty Future contracts
      • falconTrader  

      2
      0
      Votes
      2
      Posts
      7
      Views

      F

      @admin @administrators any guidance on the subject please?
    • P

      TypeError: 'NoneType' object is not subscriptable
      • P81994  

      3
      0
      Votes
      3
      Posts
      20
      Views

      T

      @admin @admin123 @adminatkremlin @administrators Kindly solve this.
    • M

      LTP Fetching issue
      • madhavthkr  

      2
      1
      Votes
      2
      Posts
      17
      Views

      F

      @madhavthkr I am able to use the function without any issue. Are you sure, you are able to login successfully using "username", "mpin", & "totp"? If yes, please check if the necessary tokens are assigned properly. And finally whether you are requesting the right token info & exchange in ltp request! (It appears to me that symbol name is irrelevant) Would be glad to help further if you could share some debug information.
    • J

      Login API not working
      • Jagdeep  

      2
      1
      Votes
      2
      Posts
      24
      Views

      F

      @Jagdeep your data object is not receiving anything. Check whether your provided credentials & TOTP are correct. if required for sake of testing, break down the steps into individual cells to debug.
    • A

      LOGIN API
      • avinashm  

      2
      0
      Votes
      2
      Posts
      6
      Views

      S

      from smartapi import SmartConnect import pyotp global obj user_id = ("Your Angel One Account id") api_key = ("Api Key") pwd = "Mobile app pin " qrotp = "Your QRotp" totp = pyotp.TOTP(qrotp) totp = totp.now() obj = SmartConnect(api_key) data = obj.generateSession(user_id, pwd,totp) refreshToken= data['data']['refreshToken'] feedToken=obj.getfeedToken() userProfile= obj.getProfile(refreshToken) print(userProfile)
    • R

      GTT is not listing from API
      • replyonline  

      2
      0
      Votes
      2
      Posts
      20
      Views

      A

      Hello, I am having the same issue, any updates on this one?
    • M

      cannot import name 'SmartConnect' from partially initialized module 'smartapi'
      • Manish Ashar  

      4
      1
      Votes
      4
      Posts
      17
      Views

      F

      @Manish-Ashar Can you try by renaming your python file to something as "mySmartapi.py". It should not be the same name as that from the repository!
    • P

      "Order placement failed: 'NoneType' object is not subscriptable"
      • prasan  

      20
      0
      Votes
      20
      Posts
      143
      Views

      H

      Can someone respond to this query? I am stuck here and unable to proceed Thanks a lot Sandeep
    • K

      Getting Error 'socket' object has no attribute 'pending' in Websocket 2.0
      • Kiran  

      1
      0
      Votes
      1
      Posts
      16
      Views

      No one has replied

    • R

      Getting this error while running py file
      • rahama.syed786  

      1
      0
      Votes
      1
      Posts
      1
      Views

      No one has replied

    • P

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

      1
      0
      Votes
      1
      Posts
      1
      Views

      No one has replied

    • T

      not able to place GTT order
      • theertha  

      1
      0
      Votes
      1
      Posts
      1
      Views

      No one has replied

    • K

      Api service
      • kppari  

      1
      0
      Votes
      1
      Posts
      0
      Views

      No one has replied

    • R

      API - Advisory service
      • replyonline  

      2
      0
      Votes
      2
      Posts
      28
      Views

      K

      Hi sir plz connect me
    • T

      not able to place GTT order
      • theertha  

      1
      0
      Votes
      1
      Posts
      1
      Views

      No one has replied

    • T

      GTT order not placing
      • theertha  

      1
      0
      Votes
      1
      Posts
      1
      Views

      No one has replied

    • N

      Attempting to resubscribe/reconnect...
      • N147911  

      1
      0
      Votes
      1
      Posts
      1
      Views

      No one has replied

    • H

      Unable to apply STOPLOSS for options in AngelOne UI through SmartSDK code, anyone has solved this issue?
      • hssandeep  

      1
      0
      Votes
      1
      Posts
      1
      Views

      No one has replied