Navigation

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

    TestApi

    @TestApi

    1
    Reputation
    17
    Posts
    8
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    TestApi Follow

    Best posts made by TestApi

    This user hasn't posted anything yet.

    Latest posts made by TestApi

    • RE: 🔴 Urgent: TOTP Invalid (AB1050) — Code Matches Google Authenticator but Login Fails

      @s565246 Hey there,

      I suggest you to print all your environment variables.

      After printing you should get your credentials. Check those credentials especially username.

      FYI, if there is any value stored in variable named "username" (ignore the case sensitivity) , the environment variable references it as username (this is somewhere used in your pc already) , which usually it is "admin".

      posted in General Discussion
      T
      TestApi
    • Need Immediate guidance with below issues I am facing

      I have raised my issue since 3 days regarding:

      1. Few srcips are blocked due to price band of the stock error , someone please help me out here.
      2. Few scrips fall under cautionary list and I don't know where I can find list of all these scrips.

      I have recently joined the forum so I don't know if there is any specific category where @admin reaches out to users.

      posted in General Discussion
      T
      TestApi
    • Price Band Error

      Hello @admin,

      I faced a new error while placing stoploss_limit order today , it says:
      "API request failed: {'status': False, 'message': 'Difference between limit price and trigger price for SL Limit Order is beyond the exchange’s Permissible range of < 1.50 >. Consider setting the limit price to < -1.50 > or higher', 'errorcode': 'AB1007' "

      Ironically , I had set rigger price to 49₹ and SL price to 48.50₹ , so mathematically the difference between two price is 1.50, which should allow for price band of 1.50.

      Hence,I request you to tell me if there is any endpoint available to check the price band for each stock in stoploss limit orders?

      Right now I can only place market orders and not limit orders.

      I hope you sort my query as soon as possible.

      posted in General Discussion
      T
      TestApi
    • Cautionary List

      I faced the following error for placing buy order for HBLENGINE and LLOYDENGG on NSE :
      " API request failed: {'message': 'The order cannot be processed as the token is categorised under cautionary listings by the exchange.', 'errorcode': 'AB4036', 'status': False, 'data': None}"

      For those who don't know
      What is Cautionary List ?
      --->

      • Exchanges (like NSE/BSE) flag certain stocks for high risk, low liquidity, or regulatory reasons.
      • And broker (AngelOne in this case) blocks buying in these scripts to protect traders from potential scams or heavy volatility.
      • Sometimes you may be able to sell existing holdings but not place new buy orders.

      I request @admin to mention "cautionary list" in the documentation.
      Or where can I find the list of all such stocks?

      #PythonSDK

      posted in General Discussion
      T
      TestApi
    • Update API DOCUMENTATION

      I faced "ERROR: AB1050" while coding. To my surprise , the api documentation DOES NOT have any description about this error.

      So I request @admin to update this asap.

      BTW, the error code indicates an "Invalid TOTP" (Time-based One-Time Password) , in context of smart-api platfrom.
      This means the TOTP you are providing to authenticate or generate a session is incorrect or invalid
      .
      #PythonSDK

      posted in General Discussion
      T
      TestApi
    • How to get authentication token

      I am getting invalid token error , and hence cannot place order. I even generated new topt but still face the same issue @Admin pls help here

      #PythonSDK

      posted in Python SDK
      T
      TestApi
    • RE: I want 20 candle data for 15 minutes timeframe

      But you can generate 15 mins time frame data using this api form live data, just counters

      posted in General Discussion
      T
      TestApi
    • RE: NameError: name 'true' is not defined

      @mg25 try changing your api key it might pix it, It worked for me

      posted in Python SDK
      T
      TestApi
    • RE: Unable to fetch data using Python SDK

      @admin Would you mind helping me sir as I've cross checked the feed token again and tried your another code to fetch data but it still the same

      posted in Python SDK
      T
      TestApi
    • RE: Unable to fetch data using Python SDK

      @admin I've been using this feed token from the starting

      posted in Python SDK
      T
      TestApi