Hi everyone,
I'm trying to understand how to define a stopp-loss and limit placing orders.
I'm currently working on if statements that liquidate my positions at pre-defined price levels. This works well for now but I would feel much more comfortable defining stopp-loss and limit together with my market order so that it is stored in the broker's system when the algorithm is trading live. Does anyone have an example on how to use stopp-losses and limits within QuantConnect?

Many thanks!