New answers tagged order-execution
I think what you are looking for is an Adjustable Stop Orders (https://www.interactivebrokers.com/en/index.php?f=574). Using adjustable-stop-order you can limit your losses in case the price falls and protect your profits if the price rises. Adjustable stop orders are not orders per say but they are "instructions" to change an existing order. For example: ...
Python can be used in QuantConnect and Quantopian (which connect to IB, Robinhood, and many other platforms).
You'll be able to send orders to many more brokerages if you learn HTML request protocol and how to use RESTful APIs. For example I have written python API wrappers (scripts that convert python commands into the brokerage's protocol) that allow full trading functionality in both TradeKing and Robinhood.
Top 50 recent answers are included