Mariner Backtesting - Limit Order Logic

Check Logic

The order is always accepted.

Fill Logic

The order is filled at the limit if the bid (selling) or ask (buying) locks or crosses the limit. The number of shares filled is the symbol's bid_size * lot_size (for selling) or ask_size * lot_size (for buying).

Cancel Logic

The order can be cancelled at any time.