Navigation

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

    Posts made by Asit Mohanty

    • RE: MCX Options placeOrder returns EMPTY_400 for all variants

      @asit-mohanty 19a2fba6-22e7-4bf3-ba62-43b7b965f838-image.png

      posted in Test
      A
      Asit Mohanty
    • MCX Options placeOrder returns EMPTY_400 for all variants

      Account: A652324
      API Key: YOiSsvNo

      Issue: placeOrder returns HTTP 400 empty body (EMPTY_400) for ALL MCX option
      orders regardless of producttype or ordertype.

      Tested combinations - all fail identically:

      1. producttype=NRML, ordertype=LIMIT
      2. producttype=NRML, ordertype=MARKET
      3. producttype=MIS, ordertype=LIMIT
      4. producttype=MIS, ordertype=MARKET

      Sample failing params:
      {
      "variety": "NORMAL",
      "tradingsymbol": "CRUDEOIL16JUN2610700CE",
      "symboltoken": "566080",
      "transactiontype": "BUY",
      "exchange": "MCX",
      "ordertype": "LIMIT",
      "producttype": "NRML",
      "duration": "DAY",
      "price": "254.0",
      "quantity": "100"
      }

      Error response:
      {'status': False, 'message': 'HTTP 400 empty body', 'errorcode': 'EMPTY_400', 'data': None}

      Verified:

      • Symbol confirmed valid via searchScrip (returns token 566080)
      • IP whitelisted: 49.43.240.109 (matches current IP)
      • MCX options segment IS active (traded CRUDEOIL PE 8000 + PE 8100 on 07-May-2026 via app)
      • NSE/NFO orders work fine via same API
      • squareoff/stoploss NOT included in params

      MCX futures orders also attempted - same EMPTY_400.
      Only MCX options/futures via API fail. App works fine for same contracts.

      Please check backend routing for MCX segment on this API key.

      posted in Test
      A
      Asit Mohanty
    • RE: NOT WORKING https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.json

      Time to leave angel broking, they are treating us like fools.
      There are many other brokers available guys who provide better api and services. Don't think too much just leave

      posted in Test
      A
      Asit Mohanty
    • RE: smartWebSocketV2:304] Error occurred during WebSocket connection: WebSocketApp.run_forever()

      @abhisingh1891 change websocket url it works

      posted in Python SDK
      A
      Asit Mohanty
    • RE: LTP quote not current`

      @Ashutosh01 does your getLTP working fine

      posted in Test
      A
      Asit Mohanty
    • RE: LTP quote not current`

      @vrkhyd i am also facing the same problem, but on 2 of my accounts other 2 accounts are working fine, getLTP method returning same again and again value that is old.

      posted in Test
      A
      Asit Mohanty
    • RE: LTP quote not current`

      @admin The problem started again but on 2 of my accounts other 3 is working fine,(the problem is we are getting a same ltp every time we try to getLTP that is old.)

      posted in Test
      A
      Asit Mohanty
    • RE: UNABLE TO EXECUTE BANKNIFTY OPTIONS ORDER

      @PandaTrade Still not working

      posted in Python SDK
      A
      Asit Mohanty
    • UNABLE TO EXECUTE BANKNIFTY OPTIONS ORDER

      Iam going step by step firstly i just want to execute a single BANKNIFTY options order of any strike price for example i've taken BANKNIFTY 22 APR 2021 PE (Weekly contract).
      I think i did everything right but why it is throwing this error.
      I'am working on PYTHON with Jupyter Notebook, iam attaching a screenshot please guys help me out.
      And yes upper code is correct because i executed SBI-eq order successfully, the problem is in the orderparams.
      Screenshot 2021-04-17 at 00.08.04.png

      posted in Python SDK
      A
      Asit Mohanty