v0.2.3-beta.2
Pre-release
Pre-release
Bug Fixes
-
1D chart: fix flat line for crypto at midnight — BTC and other 24/7 assets were showing a flat line and 0.00% change around local midnight. Root cause: Yahoo Finance briefly reports
market_state: CLOSEDfor crypto at UTC midnight despite continuous trading, andprevious_closein the sensor attribute could be off by one day due to a UTC/local timezone boundary in the coordinator.Fixes applied:
priceIsLivenow relies solely onprice_is_livefrom the coordinator (which is correctly set based on whether the asset traded today). ETFs on weekends/holidays remain flat because the coordinator setsprice_is_live = Falsefor non-trading days.- 1D baseline (
prev) now uses the last Yahoo daily history entry when it is from a previous day — always the correct last confirmed close, independent of timezone quirks. - Removed the recorder movement threshold check that caused the flat line when only a few minutes of data existed at local midnight.