A stop-loss order is an instruction to your broker to close a losing trade when the price reaches a specified level. For a long position, a stop-loss order gets triggered when the price falls to the set level. Conversely, for a short position, the stop-loss gets activated when the price rises to the specified level. The key purpose of a stop-loss order is to limit potential losses on a trade, helping to manage risk.