From 107a4bf1695ab3a7e591ba7b5417ecf352ac61bc Mon Sep 17 00:00:00 2001 From: Chris Sellers Date: Sun, 31 Dec 2023 19:13:25 +1100 Subject: [PATCH] Fix quickstart docs --- docs/getting_started/quickstart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting_started/quickstart.md b/docs/getting_started/quickstart.md index 94939a2f8b1a..ed3062ae886e 100644 --- a/docs/getting_started/quickstart.md +++ b/docs/getting_started/quickstart.md @@ -228,7 +228,7 @@ from nautilus_trader.model.data import QuoteTick data = BacktestDataConfig( catalog_path=str(catalog.path), data_cls=QuoteTick, - instrument_id=str(instruments[0].id), + instrument_id=instruments[0].id, end_time="2020-01-10", ) ``` @@ -254,7 +254,7 @@ engine = BacktestEngineConfig( strategy_path="__main__:MACDStrategy", config_path="__main__:MACDConfig", config=dict( - instrument_id=instruments[0].id.value, + instrument_id=instruments[0].id, fast_period=12, slow_period=26, ),