Navigation

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

    Posts made by firosh

    • The API request Rate Limit is based on user id or API KEY ?

      As I can create multple api keys for a single user id. In this case how the rate limit applies ?

      If I create 3 api keys, will the requests from all api keys are considered as same and apply the given rate limit?

      Or the rate limits all these api keys are considered separately?

      posted in General Discussion
      F
      firosh
    • RE: GetHolding() GetHoldingResponse.data returns null

      @admin, please resolve this..

      posted in C#/.Net SDK
      F
      firosh
    • RE: GetHolding() GetHoldingResponse.data returns null

      Hello @admin, @administrators @angelbroking

      This issue is not resolved yet.

      Please resolve this issue ASAP.

      My holdings are not returning via api call

      posted in C#/.Net SDK
      F
      firosh
    • GetHolding() GetHoldingResponse.data returns null

      @admin, @angelbroking,

      I am facing a major issue from today morning.

      The GetHolding().GetHoldingResponse.data returns null.

      I have 3 holdings available in my account which was bought on 13 Sep 2022. It is correctly showing from Web based platform and mobile app. But it is not returning through smart api.

      Please resolve this issue ASAP.

      Below are the screenshot of my code and Web based platform

      Screenshot from Web based platform.png

      VS Error Screenshot.png

      posted in C#/.Net SDK
      F
      firosh
    • RE: TradingSymbol and Symbol token are null from getHolding() response.

      @admin,whats is the current update??

      still the trading symbol and symbol token are null for one of the holding?

      posted in C#/.Net SDK
      F
      firosh
    • RE: TradingSymbol and Symbol token are null from getHolding() response.

      @admin, @angelbroking , please provide update on this.
      Issue with wrong stock data is fixed automatically, but issue with TradingSymbol and Symbol token are null from getHolding() response. still exists

      this is the 3rd time I am facing the issue

      posted in C#/.Net SDK
      F
      firosh
    • TradingSymbol and Symbol token are null from getHolding() response.

      TradingSymbol and Symbol token are null from getHolding() response.

      Below is the screenshot of getHolding().
      The TradingSymbol and Symbol token of One of the holding is null.

      All Holdings Screenshot.PNG

      The actual tradingsymbol for the 'null' was RAMASTEEL-EQ.

      Also getHolding() returns wrong holding data

      Check the screenshot below from web based platform, the getHolding() returns entirely different data

      Screenshot from Web based platform.png

      Please consider this as priority as it deals with my money.
      Please resolve this ASAP

      posted in C#/.Net SDK
      F
      firosh
    • RE: getHolding() returns wrong data.

      Re Opening the same issue again.
      This is the 3rd time I am facing the same issue.

      getHolding() returns wrong data.

      All Holdings Screenshot.PNG

      The GOODLUCK-EQ and PCJEWELLER-EQ stocks are not available in my holding, but the api returns the same. See the screenshot of my holding data from Website below. Also None of the available holdings are listing through getHolding().

      Screenshot from Web based platform.png

      Please resolve this issue ASAP since this is dealing with real money.

      posted in C#/.Net SDK
      F
      firosh
    • RE: getRMS() always gives wrong fund balance

      @admin Please close this

      posted in C#/.Net SDK
      F
      firosh
    • getRMS() always gives wrong fund balance

      getRMS() call sometimes gives wrong fund balance.
      The recent fund changes are not reflecting correctly?

      Please resolve this

      posted in C#/.Net SDK
      F
      firosh
    • HOW TO PLACE AMO STOP LOSS MARKET ORDER

      Hi Admin,

      How to place a stop loss market order with trigger price at AMO timings.

      I have tried as below at AMO timings. The order placed successfully at AMO timing, but these are getting cancelled when market opens.

      variety = AMO
      ordertype = STOPLOSS_MARKET
      

      Error message is as below
      "order with invalid attributes rejected by the system".

      If I change variety to STOPLOSS, it is successfully executing at Market open hours

      How to place the same(market order with trigger price) at AMO timings?

      posted in C#/.Net SDK
      F
      firosh
    • RE: getHolding() returns wrong data.

      @admin This is resolved now

      posted in C#/.Net SDK
      F
      firosh
    • getHolding() returns wrong data.

      getHolding() always returns the below symbols. But I don't own it.
      As I checked with Angel Broking/Angel Spark App, it is not showing.

      So the API is returning wrong data.
      Please resolve this ASAP.

      CENTURYPLY-EQ
      INDIANB-EQ
      JINDALPHOT-EQ

      posted in C#/.Net SDK
      F
      firosh
    • How to check whether intraday is supported for a scrip?

      How to check whether intraday is supported for a scrip?

      posted in C#/.Net SDK
      F
      firosh
    • RE: Trailing stoploss in ROBO Order

      @firosh, Hi @Admin, Please provide resolution for this?

      posted in C#/.Net SDK
      F
      firosh
    • Trailing stoploss in ROBO Order

      How to provide Trailing stoploss in ROBO Order ?

      posted in C#/.Net SDK
      F
      firosh
    • RE: Not able to fetch Holding details

      @admin Any update on this?

      posted in C#/.Net SDK
      F
      firosh
    • Not able to fetch Holding details

      Hi Team,
      'I am not able to fetch my portfolio details. Below is the response I am getting.

      c5d46f7a-8b8b-4796-b96e-d46ddfe1fbc8-image.png

      "Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AngelBroking.HoldingData' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.\r\nTo fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.\r\nPath 'data', line 1, position 58."

      Below is the code. Using this same code I could able to fetch
      getPosition()
      getOrderBook();
      getTradeBook();
      GetProfile()

      string Client_code = "xxxx"; //YOUR CLIENT CODE
      string Password = "xxxx"; //YOUR PASSWORD
       string api_key = "xxxx";
      string JWTToken = ""; // optional
      string RefreshToken = ""; // optional
      SmartApi connect;
      OutputBaseClass obj;
      
                 connect = new SmartApi(api_key, JWTToken, RefreshToken);
                 obj = new OutputBaseClass();
                 //Login by client code and password
                  obj = connect.GenerateSession(Client_code, Password);
                  AngelToken agr = obj.TokenResponse;
                  //Get Token
                  obj = connect.GenerateToken();
                  agr = obj.TokenResponse;
      
      
      
                 obj = connect.getHolding();
                  if (obj.status)
                  {
                      return obj.GetHoldingResponse.data;
                  }
      
      posted in C#/.Net SDK
      F
      firosh
    • RE: Historic API not returning data for sysmboltokens

      @admin Yes, that was the issue, I have made multiple request using loops which exceeded the limit.

      I have modified the code and everything is working fine now.

      Suggesting to close this issue as resolved

      Thank you.

      posted in C#/.Net SDK
      F
      firosh
    • RE: Historic API not returning data for sysmboltokens

      @admin I had a thorough check regarding this.

      I was calling the CandleRequest inside a loop for different symbol token

      when I Added 200ms delay (Thread.Sleep(200);) it worked fine

      I also tried with 10, 20, 50, 100 instead for 200, but still the issue was there.

      So what is the actual solution in this case, without Thread.Sleep(200); ?

      posted in C#/.Net SDK
      F
      firosh