orders are not getting executed through the API endpoints, neither the positions are retrieved through the API
-
My orders or positions are not getting through the APIs today. My code was all good till yesterday, but somehow nothing seems to work today.
-
@admin facing similar issue orderbook fetching is not working
-
Facing similar issue , although this is the first time I am trying to place order via SmartAPI.
Attaching curl request , replaced my sensitive credentials with placeholder values :
curl -X POST "https://apiconnect.angelone.in/rest/secure/angelbroking/order/v1/placeOrder" \ -H "Authorization: Bearer AUTH_TOKEN" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -H "X-UserType: USER" \ -H "X-SourceID: WEB" \ -H "X-ClientLocalIP: 127.0.0.1" \ -H "X-ClientPublicIP: PUBLIC_IP" \ -H "X-MACAddress: MAC_ADDRESS" \ -H "X-PrivateKey: PRIVATE_KEY" \ -d '{ "variety": "NORMAL", "tradingsymbol": "BANKNIFTY30MAR2658300CE", "symboltoken": "52534", "transactiontype": "BUY", "exchange": "NFO", "ordertype": "MARKET", "producttype": "CARRYFORWARD", "duration": "DAY", "quantity": "30", "price": "0", "triggerprice": "0", "disclosedquantity": "0", "ordertag": "test-order", "scripconsent": "yes" }'Getting response as
{"success":false,"data":""}No idea on what's wrong , no direction on debugging the same