Replies: 1 comment
-
|
NautilusTrader is primarily designed for continuous order book matching, so call auction / fixing support is limited but workable. Here is the current state: Venue States / Trading Phases There is no first-class from nautilus_trader.model.events import InstrumentStatus
from nautilus_trader.model.enums import MarketStatus
status = InstrumentStatus(
instrument_id=instrument_id,
status=MarketStatus.PRE_OPEN, # or PAUSE, CLOSED
...
)
engine.add_data([status], sort=False)Your strategy receives Auction / Fixing Price Feed Feed indicative uncrossing prices as Simulated Matching During Auctions The built-in fill model is continuous (FIFO, price-time priority). For call auction semantics (single-price batch matching) you would need a custom Practical recommendation For backtesting with known fixing prices: pre-process your data so the fixing print arrives as a single Is this for a specific exchange / fixing type? Happy to dig into the details. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m working with non-continuous markets (e.g. scheduled fixings, daily open/close auctions) where orders accumulate and match at a single uncrossing price rather than through continuous matching.
What are the current capabilities and best practices in Nautilus Trader for handling these phases? Specifically:
Venue States: What is the recommended way to model transitions between continuous trading, halts, and call phases?
Auction Data: Are there specific event types to feed in indicative match prices and order imbalances during a call phase?
Simulated Matching: Does the backtester support call auction logic (single equilibrium price), or is it strictly continuous? If continuous, what is the best workaround?
Order Types: How should we handle auction-specific orders like MOO, MOC, or LOC?
If native support isn't there yet, I’d appreciate any architectural pointers on building a custom adapter or matching engine extension for this.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions