Posts made by Asit Mohanty
-
MCX Options placeOrder returns EMPTY_400 for all variantsposted in Test
Account: A652324
API Key: YOiSsvNoIssue: placeOrder returns HTTP 400 empty body (EMPTY_400) for ALL MCX option
orders regardless of producttype or ordertype.Tested combinations - all fail identically:
- producttype=NRML, ordertype=LIMIT
- producttype=NRML, ordertype=MARKET
- producttype=MIS, ordertype=LIMIT
- 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.
-
RE: NOT WORKING https://margincalculator.angelbroking.com/OpenAPI_File/files/OpenAPIScripMaster.jsonposted in Test
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 -
RE: LTP quote not current`posted in Test
@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.
-
RE: LTP quote not current`posted in Test
@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.)
-
UNABLE TO EXECUTE BANKNIFTY OPTIONS ORDERposted in Python SDK
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.

