Stock Trading Education

Order Simulator

Investment Education, Research & Tools for Smarter Decisions.

Pick an order type and see how it would have filled against a randomized price path, no real money, no real risk.

Direct Answer

This order simulator lets you pick a market, limit, stop, or stop-limit order and see how it would have filled against a randomized price path, with no real money or market data involved. Run it as many times as you like to compare how the same order type behaves when the price path changes.

Try It Yourself

Choose an order type, side, quantity, and price levels, then run the simulation. Each run generates a new randomized price path so you can see how the same order might fill differently depending on where the price goes.

How This Simulation Works

Each run generates a short randomized price path starting from your chosen starting price. The simulator then checks, tick by tick, whether your order's conditions would have been met:

This is an educational simulation only. It does not use real market data and does not represent an actual trade.

This simulator models each order type as a clean trigger against a single price path. Real markets add risks this simulation doesn't capture, broker-specific trigger rules, trading halts, and overnight gaps among them. See Stop, Stop-Limit, and Triggered Orders in Real Markets for how those risks play out beyond this simulation.

Methodology

Each run generates a synthetic price path of 20 ticks starting at your entered price. Every subsequent tick adds a random drift drawn uniformly between negative and positive your chosen volatility value, then floors the result at $0.50 and rounds to the cent. This is a bounded random walk, not a model calibrated to any real security's historical volatility, distribution shape, or trend.

Against that path, the order logic checks conditions tick by tick: a market order fills immediately at the first tick's price; a limit order fills the first tick where price is at or better than your limit (buy: price ≤ limit; sell: price ≥ limit), using the more favorable of price or limit as the fill; a stop order triggers and fills at market the first tick the stop condition is met (buy: price ≥ stop; sell: price ≤ stop); a stop-limit order first waits for the stop trigger, then applies the limit condition to the remaining ticks from that point forward. If no tick satisfies the condition, the order is reported unfilled.

Assumptions and limitations

References