Trailing Stop Loss for Credit Spreads #145
Unanswered
brigoraoul
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I am writing a trading script for spx credit spreads (bull put and bear call). I would like to set a trailing stop loss order with a trailing amount ("auxPrice") of 1, meaning the stop loss limit gets updated to be exactly 1 point under the current market price. I define my order objects as follows:
Does anyone have experience with this and can tell me if I create the order correctly, especially the stop loss order? When I monitor the orders in TWS, the stop loss does not appear to actually trail and eventually gets filled at the initial stop price ("trailStopPrice").
Beta Was this translation helpful? Give feedback.
All reactions