Hi @ashwinjain1, Orders can have a validity of DAY or IOC. We will update documentation. 'amo' is a variety. If you want to place after market order you need to send variety as 'amo'. Check out the example for placing order here. It has an example for regular order, you can just change the variety of order to make it 'amo'.
Orders can have a validity of DAY or IOC. We will update documentation.
'amo' is a variety. If you want to place after market order you need to send variety as 'amo'.
Check out the example for placing order here. It has an example for regular order, you can just change the variety of order to make it 'amo'.
Thank you the remedy. Can you also get the following part of the documentation updated -
"order_variety": [
"regular",
"amo",
"bo",
"co"
],
I had tried order_variety = "AMO" and it gave me the following error -
TypeError: order_place() got an unexpected keyword argument 'order_variety'
The parameter name needs to be changed to variety.
Thank you for notifying, we will update documentation.