Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CustomData backtesting issues and improve docs #2192

Open
graceyangfan opened this issue Jan 7, 2025 · 0 comments
Open

CustomData backtesting issues and improve docs #2192

graceyangfan opened this issue Jan 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@graceyangfan
Copy link
Contributor

Bug Report

CustomData can not be send to data engine properly

Expected Behavior

CustomDatd should be send to data engine properly

Specifications

OS platform: ubutnu24.04
Python version: python 3.12
nautilus_trader version:latest develop

how to fix this bug

from nautilus_trader.model.data cimport CustomData need to be add in nautilus_trader/data/engine.pyx

Backtest Setting Document

take GreekData as example at least setting is needed:

register_arrow(GreeksData, GreeksData.schema(), GreeksData.to_catalog, GreeksData.from_catalog)
BacktestDataConfig(
    catalog_path=str(catalog_path),
    data_cls=GreeksData.fully_qualified_name(),
    instrument_id=InstrumentId.from_str(instrument_id),
    start_time=start_time,
    end_time=end_time,
    client_id=client_id,
    metadata={"instrument_id": instrument_id},
)
@graceyangfan graceyangfan added the bug Something isn't working label Jan 7, 2025
@cjdsellers cjdsellers changed the title Fix CustomData Backtesting Issues and Optimize Documentation Related to CustomData Backtesting Fix CustomData backtesting issues and improve docs Jan 7, 2025
@cjdsellers cjdsellers changed the title Fix CustomData backtesting issues and improve docs CustomData backtesting issues and improve docs Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant