Navigation

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

    krishna1810

    @krishna1810

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

    krishna1810 Follow

    Best posts made by krishna1810

    This user hasn't posted anything yet.

    Latest posts made by krishna1810

    • RE: Search scrip was giving AB4012 error code

      @Moderator_3 Issue fixed. Minor error from my code side.

      posted in Bugs
      K
      krishna1810
    • RE: Limit Price Protection in Orders

      @Moderator_1 , I am trying to send the request body like below

      {
          "variety":"STOPLOSS",
          "tradingsymbol":"SBIN-EQ",
          "transactiontype":"BUY",
          "exchange":"NSE",
          "ordertype":"STOPLOSS_LIMIT",
          "producttype":"DELIVERY",
          "duration":"DAY",
          "price":"818",
          "squareoff":"800",
          "stoploss":"800",
          "quantity":"1"
        }
      

      Note : symbolToken already added.
      As of today's date SBIN price is 812.1 rupees.
      Now I am getting response as below

      {
      "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 lower",
          "errorcode": "AB1007",
          "data": {
              "script": "SBIN-EQ",
              "orderid": null,
              "uniqueorderid": "15ea8c49-c973-47dd-80ef-2251c134bd8b"
          }
      }
      

      can you please help me understand, where I have done the mistake ?

      posted in General Discussion
      K
      krishna1810
    • Search scrip was giving AB4012 error code

      While trying to hit this endpoint : "/rest/secure/angelbroking/order/v1/searchScrip"

      I am getting response as :
      {
      "message": "Invalid searchscrip",
      "errorcode": "AB4012",
      "status": false,
      "data": null
      }

      in the request i provided data as
      {
      "exchange" : "NSE",
      "searchscrip":"SBIN"
      }

      can someone please help where i did wrong ?
      @admin , @Moderator_1

      posted in Bugs
      K
      krishna1810
    • Fetching Token for Individual Scrips gives AB4012 error code

      Hi @Moderator_1 , @admin
      I am trying to fetch the scrip response using the endpoint
      with POST request
      "https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/searchScrip"

      I passed body as
      {
      "exchange": "NSE",
      "searchscrip": "SBIN"
      }

      but this gives response as
      {
      "message": "Invalid searchscrip",
      "errorcode": "AB4012",
      "status": false,
      "data": null
      }
      please fix it.

      if done any mistake from my side, please let me know

      posted in Bugs
      K
      krishna1810