Hi team, wanted to know the support in the smart API SDK / API endpoints for the following action:
- creating a basket order
- adding stocks to a particular basket
- ordering a basket
cc @admin
Hi team, wanted to know the support in the smart API SDK / API endpoints for the following action:
cc @admin
what ?
{
status: true,
message: 'SUCCESS',
errorcode: '',
data: {
script: 'MIDCPNIFTY05FEB2410375PE',
orderid: '240205000140605',
uniqueorderid: 'b837bc9d-8113-4bdc-b515-696e5bea278f'
}
}
on checking the angel platform saw that the order was rejected (placing an order through the placeOrder method, the returned response indicates success, but upon further verification on the Angel platform, the order appears to be rejected)
need a way to detect order rejection programatically -> I understand that the first API call might not be directly responsible for executing the order (might be placing transit orders in a queue), hence it might not be able to return the correct order execution status. This is a crucial requirement -> otherwise there is a duplication of effort in terms of executing orders via the api and checking them simultaneously on the Platform.
the callee should be responded with what happened to the order. If there is already an implementation for the same, will be happy to know.