Navigation

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

    Posts made by aakashsri013

    • RE: When generating a Token, we receive an 'Invalid apiKey' error (AB1053), which is not documented.

      @sainiweb Did you get a resolution for this?

      posted in Bugs
      A
      aakashsri013
    • Error code AG8001

      Hi @Moderator_1 @Moderator_2 @Moderator_3 @admin ,
      I am getting error code AG8001 with the following error message:
      Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/historical/v1/getCandleData. Error: Invalid Token.

      Response: {'success': False, 'message': 'Invalid Token', 'errorCode': 'AG8001', 'data': ''}

      Please resolve the error ASAP.

      posted in Python SDK
      A
      aakashsri013
    • NoneType object is not subscriptable for refreshtoken

      Hi @admin,@moderator
      I am getting NoneType object is not subscriptable while loggin in and its not logging out.What to do? I need to rectify this before start of trading hours.
      Do something asap.
      Thanks,
      Aakash

      posted in Python SDK
      A
      aakashsri013
    • RE: Unable to place order,please check params

      @Moderator_3 OK so now there is nothing wrong on my end, the try except else block is passing but the order shows rejected at your web portal.Dew rejected orderIDs are:

      rejected order:
      may6th:
      240506000802724
      240506000804868
      may7th:
      240507000067908

      posted in Python SDK
      A
      aakashsri013
    • RE: Unable to place order,please check params

      @Moderator_3 No error just rejected order, try-except block not printing any error ,its not reaching the except-else portion of try block, hence i asked to check the params

      posted in Python SDK
      A
      aakashsri013
    • RE: Unable to place order,please check params

      @aakashsri013 Also the same was working before when it was converted to stoploss order,earlier it was just a normal order.Nothing else has changed except the parameters for stoploss-market.

      posted in Python SDK
      A
      aakashsri013
    • RE: Unable to place order,please check params

      @godboleamit I have posted the same above.
      Any urgent help would be appreciated.
      Thanks,
      Aakash

      posted in Python SDK
      A
      aakashsri013
    • Unable to place order,please check params

      Hi @admin ,
      Please check the stoploss order params ive prepared and tell me why its getting rejected.

      {
      "variety":"STOPLOSS",
      "tradingsymbol":str(self.selected_recommendation_stock[0]),
      "symboltoken":str(self.token),
      "transactiontype":"BUY",
      "exchange":"NSE",
      "ordertype":"STOPLOSS_MARKET",
      "producttype":"INTRADAY",
      "duration":"DAY",
      "price":"0",
      "squareoff":"0",
      "triggerprice": str(round(0.98*float(self.market_data['data']['fetched'][0]['ltp']),2)),
      "quantity":self.tradeQty
      }

      Thanks,
      Aakash

      posted in Python SDK
      A
      aakashsri013
    • RE: Latency in api call serve

      @dsomanath1812 no problems logging in and out of the system,but marketData Api is very non responsive

      posted in General Discussion
      A
      aakashsri013
    • RE: DATA IN FULL MODE

      @pinaki248 Did you get the resolution to this?
      The marketDataApi is having high latency whereas websocket not having FULL mode?
      Thanks,
      Aakash

      posted in Python SDK
      A
      aakashsri013
    • How to get OHLC in WEBSOCKET?

      Hi @admin ,
      Please guide how to get ohlc from websocket,using python sdk.
      And what does mw|sfi|dp return (difference)?
      Thanks,
      Aakash

      posted in Python SDK
      A
      aakashsri013
    • Latency in api call serve

      Re: Time delay in placing orders

      Hi @admin ,
      I am also having time delay of around a second while processing my requests,could be please hand me a solution for the same as I've been designing an algo-trade system and need least amount of latency as possible.Using python sdk and threading for the same.
      Please check for any issues from your side.
      Thanks in advance,
      Aakash Srivastava

      posted in General Discussion
      A
      aakashsri013
    • RE: Know parameter types of robo order

      @Moderator_1 So can we completely skip these parameters or are all the Params necessary to provide for?

      posted in Python SDK
      A
      aakashsri013
    • RE: Know parameter types of robo order

      @Moderator_1 Are these necessary to provide or we can skip? What are the OBVIOUS options to make the api overlook them?

      posted in Python SDK
      A
      aakashsri013
    • Know parameter types of robo order

      Can anyone explain the various parameter TYPES for a ROBO order, specifically the squareoff,stoploss and triggerPrice parameters? Want to know what values(price,percentage,etc of what parameter) these parameters take....?

      posted in Python SDK
      A
      aakashsri013
    • HistoricalAPI down... ?

      Hi Guys I was able to get the data from historical API during the day but unable to do so anymore,any help?!SmartAPIErrorHistoricalAPI.png

      posted in Python SDK
      A
      aakashsri013