Navigation

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

    "Used margin" or "Total margin" not available

    Python SDK
    0
    1
    34
    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.
    • M
      mihirshah2500 last edited by

      How to get "Used margin" or "Total margin" by SmartAPIs (Python)?

      "Used margin" is needed for calculating total capital (holdings + margin) to design the portfolio.

      Screenshot 2022-04-25 at 3.22.17 PM.png

      Current rmsLimits() provides only "Available margin"
      Current response:
      {'net': '2454.3800000000001091', 'availablecash': '1133.7799999999999727', 'availableintradaypayin': '1133.7799999999999727', 'availablelimitmargin': '0', 'collateral': '0', 'm2munrealized': '0', 'm2mrealized': '0', 'utiliseddebits': '-1320.5999999999999091', 'utilisedspan': '0', 'utilisedoptionpremium': '0', 'utilisedholdingsales': '0', 'utilisedexposure': '0', 'utilisedturnover': '0', 'utilisedpayout': '0'}

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