Navigation

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

    TestApi

    @TestApi

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

    TestApi Unfollow Follow

    Latest posts made by 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
    • RE: TOTP generate Issue

      I faced similar issue and THIS PURELY SMARTAPI bug not the code.
      @admin CAN PLS LOOK INTO THIS

      posted in Test
      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: Not getting HIGH value in api data

      @rajanprabu yeah even after some bugs it works great looking forward to seeing the new release

      posted in Test
      T
      TestApi
    • RE: Not getting HIGH value in api data

      @rajanprabu When is update is coming out

      posted in Test
      T
      TestApi
    • Not getting HIGH value in api data

      ap | 307.94 | bp | 307.90 | bq | 1004 | bs | 3383 | c | 307.25 | cng | 00.70 | e | nse_cm | lo | 304.75 | ltp | 307.95 | ltq | 100 | ltt | 15/01/2021 10:18:57 | name | sf | nc | 00.23 | sp | 307.95 | tbq | 1809684 | tk | 3045 | to | 3712289989.72 | tsq | 2772694 | v | 12055238 |

      This is the only data I get from API

      posted in Test
      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