I have exaggerated the numbers to make it easier (in my mind) to follow the question.
My strategy places a Long Market order for 1,000 shares of a limited liquidity stock, currently trading at 10.00 and it specifies a stop at 9.75.
Subsequently 500 shares show up on the Ask for 10.25
This executes giving me a PartialFill of 500 shares.
After that, 250 shares are traded (maybe in another market) at 9.50.
Then 1000 shares show up on the Bid at 9.90 ,
AND 1000 show up on the Ask at 10.10.
First question:
Will the trade of the 250 shares (at 9.50) trigger my stop and cause a sell at 9.90, OR will the Long order continue to execute causing a Buy at 10.10?
Second question:
Regardless of what my real world position would be, what will my Strategy *think* my position is?
I would test this, but backtesting doesn't do PartialFills for Market orders, and obviously realtime testing would be difficult :-)
Any help or insight would be appreciated.

Comment