Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Estimate Charges API Error

    Test
    0
    5
    32
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      notsoloud last edited by

      Re: Estimate charges api error

      Is the estimate charges API available for NFO? It gives internal server error for a request with params related NIFTY FUTURES. However, it works fine for NSE stocks.

      M 1 Reply Last reply Reply Quote 0
      • N
        notsoloud last edited by

        @Moderator_1 @Moderator_2 @Moderator_3

        1 Reply Last reply Reply Quote 0
        • M
          Moderator_1 @notsoloud last edited by

          @notsoloud It is available for NFO. Please pass the correct exchange, symbol_name and token and it will give you the details.

          Thank you.

          Regards
          SmartAPI Team

          1 Reply Last reply Reply Quote 0
          • N
            notsoloud last edited by

            Hi @Moderator_1 !
            Please find the request_data I am passing to smartApi.estimateCharges()

            {'orders': [{'product_type': 'INTRADAY', 'transaction_type': 'BUY', 'quantity': '25', 'price': '24000', 'exchange': 'NFO', 'symbol_name': 'NIFTY29AUG24FUT', 'token': '35415'}, {'product_type': 'INTRADAY', 'transaction_type': 'SELL', 'quantity': '25', 'price': '24500', 'exchange': 'NFO', 'symbol_name': 'NIFTY29AUG24FUT', 'token': '35415'}]}
            

            The error I received:

            Response: {'message': 'Internal Error', 'errorcode': 'AB2001', 'status': False, 'data': None}
            
            
            1 Reply Last reply Reply Quote 0
            • M
              Mastermind last edited by

              @notsoloud NFO_FUT also works fine. just go through documentation properly. it is there.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post