Navigation

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

    godboleamit

    @godboleamit

    3
    Reputation
    14
    Posts
    7
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    godboleamit Follow

    Best posts made by godboleamit

    • Historical data - 2, 3 and 4 Hours data can't be fetched

      Hello,

      Historical data for any instrument can't be fetched for the duration of 2, 3 or 4 hours. But these options are available for UI.

      It would be great if you can allow users to fetch the data for 2,3 or 4 hours of duration.

      Thanks!

      posted in General Discussion
      G
      godboleamit
    • RE: Historical data - 2, 3 and 4 Hours data can't be fetched

      @softice Agreed. I am doing the same thing right now.

      posted in General Discussion
      G
      godboleamit

    Latest posts made by godboleamit

    • RE: Unable to place order,please check params

      @aakashsri013 Could you please post the final resulting JSON that is being sent to post the order?

      posted in Python SDK
      G
      godboleamit
    • RE: Changes in API Rate Limit

      @Moderator_1

      Thanks for taking action on it!

      With Regards
      Amit

      posted in General Discussion
      G
      godboleamit
    • RE: Changes in API Rate Limit

      @Moderator_1 said in Changes in API Rate Limit:

      500

      Thanks for clarifying the rate limit!

      But how the rate limits per second and per minute are related to each other?

      For example:

      Rate limit for - /rest/secure/angelbroking/historical/v1/getCandleData

      • 3 per second and
      • 500 per minute

      So if we consider per second limit rate as a primary rate limit, then max rate limit per minute is 180 per minute.

      Hence how to use the rate limit per minute?

      Any use case as an example will be useful.

      posted in General Discussion
      G
      godboleamit
    • RE: Python function for Option Greeks

      Hey @hardip, getOptionGreeks() function is not defined. You will need to add this function yourself.

      posted in Python SDK
      G
      godboleamit
    • RE: Python function for Option Greeks

      @godboleamit

      For those who need this function to get Option Greeks.

      1. Please go to the file - smartConnect.py.
      2. Add the following function to the file -
           def getOptionGreeks(self, name, expirydate):
              optiongreeks = self._postRequest("api.market.optiongreeks", {"name": name,"expirydate": expirydate})
              return optiongreeks
      
      1. Add one more line to the routes variable - (Look at the second line)
      "api.allholding": "/rest/secure/angelbroking/portfolio/v1/getAllHolding",
      "api.market.optiongreeks": "/rest/secure/angelbroking/marketData/v1/optionGreek",
      
      "api.individual.order.details": "/rest/secure/angelbroking/order/v1/details/",
      
      1. Call a function as follows -
      optionGreeks = smartApi.getOptionGreeks('TCS', '29FEB2024')
      print(optionGreeks)
      

      You will get the required response.

      posted in Python SDK
      G
      godboleamit
    • Python function for Option Greeks

      Hi,

      Thanks for providing the feature of option greeks!

      But do you have any dedicated function in python to retrieve these option greeks values?

      E.g. any dedicated function like - individual_order_details(self, qParam) will be helpful.

      If you already dedicated python function, please let us know.

      Thanks!

      posted in Python SDK
      G
      godboleamit
    • RE: Historical data - 2, 3 and 4 Hours data can't be fetched

      @softice Agreed. I am doing the same thing right now.

      posted in General Discussion
      G
      godboleamit
    • Historical data - 2, 3 and 4 Hours data can't be fetched

      Hello,

      Historical data for any instrument can't be fetched for the duration of 2, 3 or 4 hours. But these options are available for UI.

      It would be great if you can allow users to fetch the data for 2,3 or 4 hours of duration.

      Thanks!

      posted in General Discussion
      G
      godboleamit
    • RE: api.candle.data call is failing

      @Moderator_2

      Thanks for the response! I figured out that symboltoken which I was passing on was wrong. And due to which no data was returned.

      But as problem was overlooked, it took a lot of time to determine whether the problem was at my end or technical glitch at your end.

      Probable modifications which I can think of:

      1. Validate the data before further processing - and if something is wrong, return a graceful message to the calling user.
      2. If there is a technical glitch, also inform users accordingly.

      Clarity in the responses will save a lot of time for end users.

      posted in General Discussion
      G
      godboleamit
    • api.candle.data call is failing

      api.candle.data call is failing with no data returned. Could you please investigate?

      posted in General Discussion
      G
      godboleamit