Yijia-Xiao
63be7fe7f1
fix(dataflows): don't silently drop the latest OHLCV bar
...
- the latest in-range bar with a NaN close was dropped before the curr_date
cutoff, so the previous trading day looked like the latest; dates were also
compared without timezone normalization
- normalize bar dates and curr_date to naive midnight (per element, so 5-year
ranges spanning DST and non-US positive-offset markets keep their local date),
then raise NoMarketDataError on a missing latest close rather than falling back
- split the fill step (_fill_price_gaps) from date/price normalization so the
latest bar can be inspected before incomplete rows are dropped #1201
2026-08-31 02:08:31 +00:00
..
2026-04-18 20:42:11 +08:00
2026-06-21 23:50:33 +00:00
2026-07-05 14:29:06 +00:00
2026-06-21 22:31:35 +00:00
2026-07-05 14:29:07 +00:00
2026-06-14 16:38:36 +00:00
2026-07-05 14:29:07 +00:00
2026-06-14 17:03:17 +00:00
2026-08-31 01:29:14 +00:00
2026-07-05 14:29:07 +00:00
2026-06-21 21:03:05 +00:00
2026-06-21 21:03:05 +00:00
2026-07-18 06:28:38 +00:00
2026-06-13 20:50:21 +00:00
2026-04-18 20:42:11 +08:00
2026-05-11 02:30:24 +00:00
2026-06-13 21:30:11 +00:00
2026-08-30 06:18:59 +00:00
2026-06-14 16:38:36 +00:00
2026-06-21 21:03:05 +00:00
2026-08-30 06:18:59 +00:00
2026-06-21 21:03:05 +00:00
2026-06-21 21:03:05 +00:00
2026-06-14 15:56:59 +00:00
2026-05-30 23:56:32 +00:00
2026-07-05 14:29:07 +00:00
2026-08-30 06:26:57 +00:00
2026-05-31 01:58:32 +00:00
2026-06-14 02:46:29 +00:00
2026-08-31 01:55:31 +00:00
2026-08-30 07:03:06 +00:00
2026-05-31 06:20:55 +00:00
2026-04-25 07:41:36 +00:00
2026-07-05 14:29:07 +00:00
2026-08-31 01:29:14 +00:00
2026-06-14 16:38:36 +00:00
2026-07-18 06:28:38 +00:00
2026-08-31 02:08:31 +00:00
2026-06-14 16:38:36 +00:00
2026-06-21 22:09:43 +00:00
2026-06-21 21:03:05 +00:00
2026-06-14 07:23:19 +00:00
2026-06-14 18:49:02 +00:00
2026-06-14 06:30:43 +00:00
2026-06-14 04:13:39 +00:00
2026-07-05 14:29:07 +00:00
2026-06-21 23:22:30 +00:00
2026-07-05 14:29:07 +00:00
2026-05-31 22:38:47 +00:00
2026-08-30 06:38:15 +00:00
2026-08-30 06:18:59 +00:00
2026-05-31 00:51:30 +00:00
2026-07-05 14:29:07 +00:00
2026-07-18 06:28:38 +00:00
2026-06-21 22:31:35 +00:00
2026-08-30 07:03:06 +00:00
2026-07-05 14:29:07 +00:00
2026-07-05 14:29:07 +00:00
2026-05-31 06:13:35 +00:00
2026-06-14 07:10:15 +00:00
2026-06-21 21:28:59 +00:00
2026-06-14 07:10:15 +00:00