Query regarding order Types.
Created at 05 Mar 2025, 06:10
SI
Query regarding order Types.
05 Mar 2025, 06:10
Hi ,
I'm running a script to place limit order with relative stopLoss and takeProfit.
I don't know why the order Type has been changing when ordered (Some times to Market order and Sometime to Stop Limit Order ) which is not as expected (If market order is placed StopLoss won't be applied to that) .What we need to do to fix this? (Is this the issue with API or the behaviour of the orders?).
is the orderId remains same at all points?
why sometimes i'm getting an Executionevent with orderId 0 and sometimes positionId 0 ?
Edward357Johnson
05 Mar 2025, 11:56 ( Updated at: 06 Mar 2025, 04:49 )
Hello!
Your order type changes might result from API behavior or execution conditions, like limits converting to market orders when triggered. Ensure explicit order types, check API documentation for secret starbucks menus orderId consistency, and handle execution events with proper logging to resolve orderId or positionId discrepancies.
@Edward357Johnson