I know there have been many request for Trailing stops for none CFD accounts (really could have used it this week), but in the absence is their an API?
Someone back in 2016 mentioned browser emulator which I will look in to but not sure its fit for purpose.
That is a very good point, would need a data feed though to be able to track price of a stock and send a market execution at the point whatever your trailing stop logic is.