return order details in placeOrder function instead of just the orderID
-
@admin @administrators there is a function called 'placeOrder' in the 'SmartConnect' class in the SmartConnect.py file, and the function returns the order ID if the order is placed successfully.
So instead of returning just the order ID can you please change it to return the completely executed order with the details such as orderID, trade executed price, quantity, time, etc.
If this is done then we can possibly avoid the calls to getOrderBook.
I understand that for a single order with large quantities of shares being traded on 'market-type' orders multiple trades will sum into one order but the above mentioned can be implemented.Thank you
-
Hi @namanviz , We have noted your suggestion. Thank you.
2 out of 2