I`m developing a scalper strategy and I`m having a situation, could you please help me?
I have a logic to plan my position, but I would like to place my exit order before the entry, using a Limit Order, in order to get a better place in the execution queue.
Example:
- "Exit" Limit short order on 2880,00.
- Entry long market on 2879,00.
I`ve tried to enter that using the "EnterShortLimit" method, but as soon my Long Order is executed, the Short Limit order is canceled with the message: "Cancelled pending entry order on opposite side of the market"
Also have tried to enter using the "ExitShortLimit"method but I`m getting the message: ''This was an exit order but no position exists to exit'
Is there a way to handle with that scenario?
Thank you in advance.
Best regards,
Guilherme

Comment