It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
Modify GTT Order gives Error
Hi, I am getting one of below error when trying to modify existing GTT OCO Sell Trigger (Python API)
Error placing GTT Order Trigger cannot be created with the second trigger price less than the last price."
Error placing GTT Order Trigger cannot be created with one of the trigger values equal to the last price.
Could someone help understand whats the purpose of "last price" in placing gtt.
API python client
Modify Triger Price
In the context of this OCO sell order, it's assumed that the user already holds a long position and is attempting to set both a stop-loss and a target for the same. Hence, the stop-loss should be positioned below the LTP, and the target should be positioned above the LTP.
Thanks. That helps!
This discussion has been closed.