Closed codewithraviteja closed 2 years ago
Try the same with web interface. If web interface working it should work on api also.
Yes, I did checked it and it is working in Web interface
@krishnavelu in web interface, there is no term named "instrument".
@droidmaniac31 just delete the line where its written instrument. it will work
Alice team changed it in web without updating the main API documentation.
Thank you Krishna :)
I've been trying to modify the pending order but I am unable to update it. Please help me
Code :
print(alice.modify_order( transaction_type = TransactionType.Buy, order_id = '220930000126579', instrument = bn_call, quantity = 25, order_type = OrderType.StopLossLimit, product_type = ProductType.Delivery, price = 4.00, trigger_price = 8.00))
Error message :
{'stat': 'Not_Ok', 'Emsg': 'Error Occurred!'}