I am not getting postback responses, my postback URL is https://aibot.combiz.org/angelone-postback, I have created this API in .net core. My client ID is G50982. I have tested this URL, I am able to post but i am not getting updates for orders.
Best posts made by garv4you
-
RE: Postback not received. How to check postback/redirect url set for an app?
-
RE: is postback working?
I am not getting postback responses, please help. I am using asp.net core.
Post back URL - https://aibot.combiz.org/angelone-postback
My Client ID - G50982 -
MKT or LIMIT order showing as LIMIT only in API response and in websocket
Hi Angel,
Whenever i am placing and Market order, websocket and api resonse showing it as LIMIT order but it must be shown as Market please check and fix issue.
{"user-id": "G50982","status-code": "200","order-status": "AB05","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 97.29,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "PNB-EQ","transactiontype": "BUY","exchange": "NSE","symboltoken": "10666","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 96.84,"filledshares": "1","unfilledshares": "0","orderid": "250411000548062","text": "","status": "complete","orderstatus": "complete","updatetime": "11-Apr-2025 12:15:21","exchtime": "11-Apr-2025 12:15:21","exchorderupdatetime": "11-Apr-2025 12:15:21","fillid": "","filltime": "","parentorderid": ""}}
{"user-id": "G50982","status-code": "200","order-status": "AB01","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 97.29,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "PNB-EQ","transactiontype": "BUY","exchange": "NSE","symboltoken": "10666","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 0.0,"filledshares": "0","unfilledshares": "1","orderid": "250411000548062","text": "","status": "open","orderstatus": "open","updatetime": "11-Apr-2025 12:15:21","exchtime": "11-Apr-2025 12:15:21","exchorderupdatetime": "11-Apr-2025 12:15:21","fillid": "","filltime": "","parentorderid": ""}}
{"user-id": "G50982","status-code": "200","order-status": "AB09","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 97.29,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "PNB-EQ","transactiontype": "BUY","exchange": "NSE","symboltoken": "10666","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 0.0,"filledshares": "0","unfilledshares": "1","orderid": "250411000548062","text": "","status": "open pending","orderstatus": "open pending","updatetime": "11-Apr-2025 12:15:21","exchtime": "","exchorderupdatetime": "","fillid": "","filltime": "","parentorderid": ""}}market
e46d9d8d-1d1d-4bf9-bc53-2038cdaad161 : {"user-id": "G50982","status-code": "200","order-status": "AB05","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 7.13,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "IDEA-EQ","transactiontype": "BUY","exchange": "NSE","symboltoken": "14366","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 7.13,"filledshares": "1","unfilledshares": "0","orderid": "250411000511424","text": "","status": "complete","orderstatus": "complete","updatetime": "11-Apr-2025 11:50:26","exchtime": "11-Apr-2025 11:50:26","exchorderupdatetime": "11-Apr-2025 11:50:26","fillid": "","filltime": "","parentorderid": ""}}
e46d9d8d-1d1d-4bf9-bc53-2038cdaad161 : {"user-id": "G50982","status-code": "200","order-status": "AB01","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 7.13,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "IDEA-EQ","transactiontype": "BUY","exchange": "NSE","symboltoken": "14366","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 0.0,"filledshares": "0","unfilledshares": "1","orderid": "250411000511424","text": "","status": "open","orderstatus": "open","updatetime": "11-Apr-2025 11:50:26","exchtime": "11-Apr-2025 11:50:26","exchorderupdatetime": "11-Apr-2025 11:50:26","fillid": "","filltime": "","parentorderid": ""}}
e46d9d8d-1d1d-4bf9-bc53-2038cdaad161 : {"user-id": "G50982","status-code": "200","order-status": "AB09","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 7.13,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "IDEA-EQ","transactiontype": "BUY","exchange": "NSE","symboltoken": "14366","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 0.0,"filledshares": "0","unfilledshares": "1","orderid": "250411000511424","text": "","status": "open pending","orderstatus": "open pending","updatetime": "11-Apr-2025 11:50:26","exchtime": "","exchorderupdatetime": "","fillid": "","filltime": "","parentorderid": ""}}
limit buy
e46d9d8d-1d1d-4bf9-bc53-2038cdaad161 : {"user-id": "G50982","status-code": "200","order-status": "AB01","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 15.45,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "YESBANK","transactiontype": "BUY","exchange": "BSE","symboltoken": "532648","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 0.0,"filledshares": "0","unfilledshares": "1","orderid": "250411000514898","text": "","status": "open","orderstatus": "open","updatetime": "11-Apr-2025 11:53:10","exchtime": "11-Apr-2025 11:53:10","exchorderupdatetime": "11-Apr-2025 11:53:10","fillid": "","filltime": "","parentorderid": ""}}
e46d9d8d-1d1d-4bf9-bc53-2038cdaad161 : {"user-id": "G50982","status-code": "200","order-status": "AB09","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 15.45,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "YESBANK","transactiontype": "BUY","exchange": "BSE","symboltoken": "532648","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 0.0,"filledshares": "0","unfilledshares": "1","orderid": "250411000514898","text": "","status": "open pending","orderstatus": "open pending","updatetime": "11-Apr-2025 11:53:10","exchtime": "","exchorderupdatetime": "","fillid": "","filltime": "","parentorderid": ""}}
Latest posts made by garv4you
-
Options buying position not exiting, showing margin issue
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,.
-
MKT or LIMIT order showing as LIMIT only in API response and in websocket
Hi Angel,
Whenever i am placing and Market order, websocket and api resonse showing it as LIMIT order but it must be shown as Market please check and fix issue.
{"user-id": "G50982","status-code": "200","order-status": "AB05","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 97.29,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "PNB-EQ","transactiontype": "BUY","exchange": "NSE","symboltoken": "10666","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 96.84,"filledshares": "1","unfilledshares": "0","orderid": "250411000548062","text": "","status": "complete","orderstatus": "complete","updatetime": "11-Apr-2025 12:15:21","exchtime": "11-Apr-2025 12:15:21","exchorderupdatetime": "11-Apr-2025 12:15:21","fillid": "","filltime": "","parentorderid": ""}}
{"user-id": "G50982","status-code": "200","order-status": "AB01","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 97.29,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "PNB-EQ","transactiontype": "BUY","exchange": "NSE","symboltoken": "10666","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 0.0,"filledshares": "0","unfilledshares": "1","orderid": "250411000548062","text": "","status": "open","orderstatus": "open","updatetime": "11-Apr-2025 12:15:21","exchtime": "11-Apr-2025 12:15:21","exchorderupdatetime": "11-Apr-2025 12:15:21","fillid": "","filltime": "","parentorderid": ""}}
{"user-id": "G50982","status-code": "200","order-status": "AB09","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 97.29,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "PNB-EQ","transactiontype": "BUY","exchange": "NSE","symboltoken": "10666","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 0.0,"filledshares": "0","unfilledshares": "1","orderid": "250411000548062","text": "","status": "open pending","orderstatus": "open pending","updatetime": "11-Apr-2025 12:15:21","exchtime": "","exchorderupdatetime": "","fillid": "","filltime": "","parentorderid": ""}}market
e46d9d8d-1d1d-4bf9-bc53-2038cdaad161 : {"user-id": "G50982","status-code": "200","order-status": "AB05","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 7.13,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "IDEA-EQ","transactiontype": "BUY","exchange": "NSE","symboltoken": "14366","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 7.13,"filledshares": "1","unfilledshares": "0","orderid": "250411000511424","text": "","status": "complete","orderstatus": "complete","updatetime": "11-Apr-2025 11:50:26","exchtime": "11-Apr-2025 11:50:26","exchorderupdatetime": "11-Apr-2025 11:50:26","fillid": "","filltime": "","parentorderid": ""}}
e46d9d8d-1d1d-4bf9-bc53-2038cdaad161 : {"user-id": "G50982","status-code": "200","order-status": "AB01","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 7.13,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "IDEA-EQ","transactiontype": "BUY","exchange": "NSE","symboltoken": "14366","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 0.0,"filledshares": "0","unfilledshares": "1","orderid": "250411000511424","text": "","status": "open","orderstatus": "open","updatetime": "11-Apr-2025 11:50:26","exchtime": "11-Apr-2025 11:50:26","exchorderupdatetime": "11-Apr-2025 11:50:26","fillid": "","filltime": "","parentorderid": ""}}
e46d9d8d-1d1d-4bf9-bc53-2038cdaad161 : {"user-id": "G50982","status-code": "200","order-status": "AB09","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 7.13,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "IDEA-EQ","transactiontype": "BUY","exchange": "NSE","symboltoken": "14366","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 0.0,"filledshares": "0","unfilledshares": "1","orderid": "250411000511424","text": "","status": "open pending","orderstatus": "open pending","updatetime": "11-Apr-2025 11:50:26","exchtime": "","exchorderupdatetime": "","fillid": "","filltime": "","parentorderid": ""}}
limit buy
e46d9d8d-1d1d-4bf9-bc53-2038cdaad161 : {"user-id": "G50982","status-code": "200","order-status": "AB01","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 15.45,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "YESBANK","transactiontype": "BUY","exchange": "BSE","symboltoken": "532648","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 0.0,"filledshares": "0","unfilledshares": "1","orderid": "250411000514898","text": "","status": "open","orderstatus": "open","updatetime": "11-Apr-2025 11:53:10","exchtime": "11-Apr-2025 11:53:10","exchorderupdatetime": "11-Apr-2025 11:53:10","fillid": "","filltime": "","parentorderid": ""}}
e46d9d8d-1d1d-4bf9-bc53-2038cdaad161 : {"user-id": "G50982","status-code": "200","order-status": "AB09","error-message": "","orderData": {"variety": "NORMAL","ordertype": "LIMIT","ordertag": "","producttype": "INTRADAY","price": 15.45,"triggerprice": 0.0,"quantity": "1","disclosedquantity": "0","duration": "DAY","squareoff": 0.0,"stoploss": 0.0,"trailingstoploss": 0.0,"tradingsymbol": "YESBANK","transactiontype": "BUY","exchange": "BSE","symboltoken": "532648","instrumenttype": "","strikeprice": -1.0,"optiontype": "","expirydate": "","lotsize": "1","cancelsize": "0","averageprice": 0.0,"filledshares": "0","unfilledshares": "1","orderid": "250411000514898","text": "","status": "open pending","orderstatus": "open pending","updatetime": "11-Apr-2025 11:53:10","exchtime": "","exchorderupdatetime": "","fillid": "","filltime": "","parentorderid": ""}} -
RE: Not able to receive postback.
@Moderator_2 any update ? postback are not received...
-
RE: is postback working?
I am not getting postback responses, please help. I am using asp.net core.
Post back URL - https://aibot.combiz.org/angelone-postback
My Client ID - G50982 -
RE: Postback not received. How to check postback/redirect url set for an app?
I am not getting postback responses, my postback URL is https://aibot.combiz.org/angelone-postback, I have created this API in .net core. My client ID is G50982. I have tested this URL, I am able to post but i am not getting updates for orders.