Navigation

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

    kondapalli6148

    @kondapalli6148

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

    kondapalli6148 Unfollow Follow

    Latest posts made by kondapalli6148

    • Estimate Charges API suddenly failing for Options/Derivatives (was working earlier)

      Hi Team,

      I am using the Estimate Charges API in SmartAPI. It used to work for options/derivatives, but for the past few days, it started failing.

      function that i used:

      def transaction_cost_of_ticker(session):
          # Try different symbol formats
          params = {
              "orders": [{
                  "product_type": "INTRADAY",
                  "transaction_type": "BUY", 
                  "quantity": "75",
                  "price": "300",
                  "exchange": "NFO",
                  "symbol_name": "NIFTY",  # Original format
                  "token": "58901"
              }]
          }
          response = session.estimateCharges(params)
          summary_total = response["data"]["summary"]["total_charges"]
          print(f"Estimated charges: ₹{summary_total}")
          return summary_total
         
      session, _ = initialize_session()
      transaction_cost_of_ticker(session)
      

      Error Message:
      'Symbol Not Found', 'errorcode': 'AB1009', 'status': False, 'data': None}

      Environment Details:
      OS: Windows 10
      Python: 3.9
      SmartAPI SDK: smartapi-python==1.4.8

      Observation:

      • API works fine for Equity.
      • API fails for Options, which worked earlier.
      • Payload format has not changed.

      Request:

      • Could you please check if there has been any recent change in the Estimate Charges API affecting options/derivatives?

      • Also, please suggest the correct payload or workaround if this is an issue on your side.

      Thanks,
      kondapalli

      posted in General Discussion
      K
      kondapalli6148
    • RE: Discrepancy Between Real-Time and Historical Market Data: Causes and Impact on Algo Trading Decisions

      please migrate my account.my angel id V70190

      posted in General Discussion
      K
      kondapalli6148
    • RE: Discrepancy Between Real-Time and Historical Market Data: Causes and Impact on Algo Trading Decisions

      Please Migrate My Account . My Angel id is V74190

      posted in General Discussion
      K
      kondapalli6148