How to submit short order with a trailing stop?

I’m trying to submit a short sale on a stock but I want to add a trailing stop, like so:

api.submit_order(
symbol=‘AMD’,
qty=1,
side=‘sell’,
type=‘trailing_stop’,
trail_percent=4.0,
time_in_force=‘day’,
)

However this does not get filled on the paper account. I think the trailing stop might not be right because it is a short sale

@John_Jay That order should work. It should sell (ie sell short if one doesn’t have a position) if the price of AMD drops 4% below the “high water mark” (HWM). The HWM begins tracking when the order is placed. It doesn’t look back in history to get a HWM. So, did the price of AMD drop 4% from the highest price as of the time you placed the order? Only then would it have executed.