-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Bug Report
Confirmation
Before opening a bug report, please confirm:
- [v] I’ve re-read the relevant sections of the documentation.
- [v] I’ve searched existing issues and discussions to avoid duplicates.
- [v] I’ve reviewed or skimmed the source code (or examples) to confirm the behavior is not by design.
- [v] I’ve tested this issue using a recent development wheel (
devdevelop oranightly) and can still reproduce it.
Expected Behavior
The expected behavior when using, for example, the OneTickSlippage FillModel, is for market orders to be fulfilled (putting aside the question of price).
Actual Behavior
The actual behavior is that market orders are not fulfilled when the order book - as defined by the fill model - does not contain 'best_bid`/'best_sell' price BookOrder has 0 quantity
Steps to Reproduce the Problem
Untar attached tar file. It contains a python file (with strategy and main), and a small catalog.
Run the python code using an environment that has NT installed (note the version used)
When run with FILL_MODEL = "Standard" (the default setting in row 26) the orders get filled
When run with FILL_MODEL = "OneTickSlippage" (row 27) the orders are not filled.
Code Snippets or Logs
Specifications
- OS platform: Ubuntu
- Python version: 3.12.7
nautilus_traderversion: 1.221.0a20250921
cjdsellers
Metadata
Metadata
Assignees
Labels
No labels