Is it possible to create trailing stop limit order and send it to broker? My broker is IB and I'm using RE to run live system.
TRAILING STOP orders (http://www.interactivebrokers.com/en/trading/orders/trailingStops.php
) are working properly with code like this
PositionManager.SetTrailingStop(pos.ID, 0.01, TargetPriceType.RelativePrice)
but I want to submit TRAILING STOP LIMIT orders (http://www.interactivebrokers.com/en/trading/orders/trailingStopLimit.php
Is there a way to do this via RE? If yes, could you provide a simple example?
I love limit orders, because market orders often produces very different paper vs live results