I am new to Quant Connect need help in understanding trailing stop risk model.

Does , TrailingStopRiskManagementModel work for both long and short orders ?

If a security is shorted will this risk model be triggered to liquidate if stock starts to rise ?

Also in this line  https://github.com/QuantConnect/Lean/blob/master/Algorithm.Framework/Risk/TrailingStopRiskManagementModel.py#L42

Does security.Holdings.UnrealizedProfitPercent work for short orders ?