Skip to content

Commit 8ead37d

Browse files
committed
update
1 parent 1f0274b commit 8ead37d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/project_x_py/realtime_data_manager/validation.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,9 +930,10 @@ def _parse_and_validate_quote_payload(
930930
self.logger.debug(f"Quote payload content: {quote_data}")
931931
return None
932932

933-
# More flexible validation - only require symbol and timestamp
933+
# More flexible validation - only require symbol
934934
# Different quote types have different data (some may not have all price fields)
935-
required_fields = {"symbol", "timestamp"}
935+
# Note: timestamp is generated when received, not included in raw quote data
936+
required_fields = {"symbol"}
936937
missing_fields = required_fields - set(quote_data.keys())
937938
if missing_fields:
938939
self.logger.warning(

0 commit comments

Comments
 (0)