diff --git a/nautilus_core/infrastructure/src/redis.rs b/nautilus_core/infrastructure/src/redis.rs index 91a984d95124..9bf6a9a8411e 100644 --- a/nautilus_core/infrastructure/src/redis.rs +++ b/nautilus_core/infrastructure/src/redis.rs @@ -64,7 +64,7 @@ const INDEX_POSITIONS_CLOSED: &str = "index:positions_closed"; #[cfg_attr( feature = "python", - pyclass(module = "nautilus_trader.core.nautilus_pyo3.model") + pyclass(module = "nautilus_trader.core.nautilus_pyo3.infrastructure") )] pub struct RedisCacheDatabase { pub trader_id: TraderId,