I tried loading a databento mbo.dbn.zst file with historical data using DatabentoDataLoader and got this error:
TypeError: DatabentoDataLoader.load_order_book_deltas() got an unexpected keyword argument 'include_trades'
Expected Behavior
Seems to be a bug when using the as_legacy_cython=False parameter for from_dbn_file()
Actual Behavior
Should load data.
Steps to Reproduce the Problem
Run with db_fpath pointing to Databento mbo.dbn.zst file:
db_mbo_data = loader.from_dbn_file(
path = db_fpath,
as_legacy_cython=False, # This will load Rust pyo3 objects to write to the catalog (we could use legacy Cython objects, but this is slightly more efficient)
)
Bug Report
I tried loading a databento mbo.dbn.zst file with historical data using DatabentoDataLoader and got this error:
TypeError: DatabentoDataLoader.load_order_book_deltas() got an unexpected keyword argument 'include_trades'
Expected Behavior
Seems to be a bug when using the as_legacy_cython=False parameter for from_dbn_file()
Actual Behavior
Should load data.
Steps to Reproduce the Problem
Run with db_fpath pointing to Databento mbo.dbn.zst file:
db_mbo_data = loader.from_dbn_file( path = db_fpath, as_legacy_cython=False, # This will load Rust pyo3 objects to write to the catalog (we could use legacy Cython objects, but this is slightly more efficient) )
Data loads fine if as_legacy_cython=True
Specifications
nautilus_trader
version: 1.195.0