mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 17:54:15 +08:00
chore: follow-ups for PR #231/#233 reviews
- monitor_rules: raise from None in remind_date validation (B904) - lots: log warning on asset-type fallback to stock (fail-open traceability) - matrix: demote turnover NaN-column notice to debug
This commit is contained in:
@@ -1435,7 +1435,7 @@ def _populate_matrix_derived_arrays(
|
||||
# 异常, 由 _resolve_matrix_storage_fields 的 vector 装载路径显式失败。
|
||||
if "float_shares" in vector_fields:
|
||||
raise ValueError("matrix turnover_rate requires float_shares")
|
||||
logger.info(
|
||||
logger.debug(
|
||||
"turnover_rate unavailable (asset has no float_shares); keeping NaN column"
|
||||
)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user