Navigation

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

    Getting error in Margin Calculator. Help me resolve the issue

    Test
    0
    2
    8
    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.
    • C
      cudasan last edited by

      [{'exchange': 'NFO', 'qty': 50, 'price': 0, 'productType': 'INTRADAY', 'token': '41670', 'tradeType': 'BUY'}]}, Response: {'message': 'Null or Empty Margin Data', 'errorcode': 'AB4022', 'status': False, 'data': None}

      Getting this above error when i try to use the margin calculator API . What could be the reason?

      M 1 Reply Last reply Reply Quote 0
      • M
        Moderator_3 @cudasan last edited by

        Hello @cudasan

        Seems like the request body is incorrect
        Can you please cross check and update the request body with below link
        https://smartapi.angelbroking.com/docs/MarginCalculator

        Regards,
        SmartAPI Team

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