Navigation

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

    Options buying position not exiting, showing margin issue

    C#/.Net SDK
    3
    3
    10
    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.
    • G
      garv4you last edited by

      when i have a option buying position and try to exit via sending sell to exit position, it gives me error of short margin, please check and help us.
      Payload to exit NIFTY Options buying position -
      {
      "trailingStopLoss": 0,
      "triggerprice": "0.0",
      "variety": "NORMAL",
      "tradingsymbol": "NIFTY14AUG2524450CE",
      "symboltoken": "44470",
      "transactiontype": "SELL",
      "exchange": "NFO",
      "ordertype": "MARKET",
      "producttype": "INTRADAY",
      "duration": "DAY",
      "price": "135.0",
      "squareoff": "0",
      "stoploss": "0",
      "quantity": 75,
      "disclosedquantity": 0
      }

      Order response - Order response : {"status":false,"message":"Your order has been rejected due to Insufficient Funds. Available funds - Rs. 87473.57. You require Rs. 215951.79 funds to execute this order.","errorcode":"","Data":
      {

      when i have option buying position and if i want to exit options buying via sending sell order, it must not ask for margin,.

      1 Reply Last reply Reply Quote 0
      • A
        admin last edited by

        @garv4you can you please share your client id and date and time of the issue?

        1 Reply Last reply Reply Quote 0
        • A
          amrut_k last edited by

          There may be a SELL order (StopLoss/Target) already in the system.

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