diff --git a/core/models/entity/ohlcv.py b/core/models/entity/ohlcv.py index 2bf375f9..828fddaa 100644 --- a/core/models/entity/ohlcv.py +++ b/core/models/entity/ohlcv.py @@ -51,7 +51,7 @@ def from_dict(cls, data: Dict) -> "OHLCV": } missing_keys = required_keys - data.keys() - + if missing_keys: raise ValueError(f"Missing keys in data dictionary: {missing_keys}")