Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Converging Trailing Stop via API
Does anyone have experience in the mechanics of maintaining a converging trailing stop via the API??
I mean a stop where the trailing amount is wide at the start (to give a trade space to take hold) but then progressively reduces the trailing amount once the position becomes profitable, in order to protect the profit.? So, for example, a 25% trailing stop allows the trade to established, but then is reduced to, say, 20%, 15% and a minimum (say) 10% once the trade reaches certain profitability levels.? I think some people call it a tangential trailing stop. Theoretically, I would guess the mechanics via the API would be something like this (but looking for comment/correction!):
However, I'm not 100% sure of these mechanics and have these questions in my head:
I would love any comments from anyone with experience, or even just views, on this. |
Nick
If you are going to be monitoring the position yourself you just have to change the price on the stop order - you don't have to cancel and submit a new one.
toggle quoted message
Show quoted text
Just send another PlaceOrder with everything the same as the original stop order except the new price. This will adjust the stop price. You might look into IB's algo order types, they might have something that would work and then it would be handled on IB's end. On 3/4/2022 12:05 AM, David Walker wrote:
Does anyone have experience in the mechanics of maintaining a converging trailing stop via the API? |
to navigate to use esc to dismiss