Hi,
I am using this code in VB.net, to place a order:
Rsp = KT.PlaceOrder(Constants.EXCHANGE_NFO, TradedInstrument, Constants.TRANSACTION_TYPE_SELL, QTY, Nothing, Constants.PRODUCT_NRML, Constants.ORDER_TYPE_MARKET)
and this to display the order status in a datagrid:
Rsp.ToList()
DGV2.DataSource = Rsp.ToList
In the data grid I see 2 returned values "Key" and "Value".
In these I get "Status", "success" and
"data", "System.Collections.Generic.Dictionary`2[System.String,System.Object]".
How do I get the actual returned message from the placeorder() function, something like "insufficient funds"?
Looking forward to hearing from you soon.
Thanks
Manoj
October 2020