soky srm
4dfd2913c7
Investment prices fixes ( #559 )
...
* Fix investments retrieval
Problem Summary
Stock prices for securities like European stocks become stale because:
1. sync_all_accounts runs at 2:22 UTC (before European markets open)
2. Provider doesn't have today's price yet, so importer gap-fills with LOCF (yesterday's price)
3. Later import_market_data at 22:00 UTC sees all prices exist and skips fetching
4. Real closing price is never retrieved
Solution Overview
Add a provisional boolean column to mark gap-filled prices that should be re-fetched.
* Update schema.rb
---------
Signed-off-by: Juan José Mata <juanjo.mata@gmail.com >
Co-authored-by: Juan José Mata <juanjo.mata@gmail.com >
2026-01-07 16:16:01 +01:00
..
2026-01-07 15:59:04 +01:00
2025-10-28 19:32:27 +01:00
2025-07-23 18:15:14 -04:00
2025-11-01 10:15:33 +01:00
2025-03-28 13:08:22 -04:00
2026-01-07 15:59:04 +01:00
2026-01-07 15:59:04 +01:00
2026-01-07 15:59:04 +01:00
2026-01-07 15:59:04 +01:00
2025-10-22 19:14:03 +02:00
2025-11-29 13:31:08 +01:00
2025-11-29 13:31:08 +01:00
2025-11-30 17:58:29 +01:00
2025-12-07 18:11:34 +01:00
2025-11-24 17:54:18 +01:00
2026-01-07 15:59:04 +01:00
2025-06-26 16:57:17 -04:00
2025-09-24 00:19:51 +02:00
2025-06-20 17:10:36 -04:00
2025-11-25 20:21:29 +01:00
2025-11-27 15:24:34 +01:00
2025-11-28 20:42:57 +01:00
2025-10-28 19:32:27 +01:00
2025-12-19 23:24:48 +01:00
2025-05-25 08:12:54 -04:00
2026-01-07 15:59:04 +01:00
2025-12-17 16:03:05 +01:00
2025-12-11 00:55:55 +01:00
2026-01-07 16:16:01 +01:00
2026-01-05 22:11:47 +01:00
2026-01-07 16:15:28 +01:00
2026-01-05 22:11:47 +01:00
2026-01-07 16:15:28 +01:00
2025-10-22 16:02:50 +02:00
2025-08-02 00:28:55 +02:00
2025-12-30 19:06:40 +01:00
2025-06-20 13:31:58 -04:00
2025-07-15 11:42:41 -04:00
2025-07-15 11:42:41 -04:00
2025-08-11 22:58:44 +02:00
2026-01-07 15:59:04 +01:00
2026-01-07 15:59:04 +01:00
2025-04-16 20:26:45 -05:00
2025-06-18 08:20:22 -05:00
2024-02-02 09:05:04 -06:00
2025-04-01 07:21:54 -04:00
2025-10-24 12:04:19 +02:00
2025-12-24 00:15:53 +01:00
2025-08-11 22:58:44 +02:00
2025-07-23 18:15:14 -04:00
2025-12-11 00:14:14 +01:00
2025-07-23 18:26:04 -04:00
2025-12-22 20:41:37 +01:00
2025-12-12 16:05:53 +01:00
2025-10-24 12:04:19 +02:00
2026-01-07 15:59:04 +01:00
2026-01-07 15:59:04 +01:00
2025-05-23 18:58:22 -04:00
2025-02-21 11:57:59 -05:00
2024-10-18 11:26:58 -05:00
2026-01-07 15:59:04 +01:00
2025-05-23 18:58:22 -04:00
2025-04-01 07:21:54 -04:00
2025-11-29 13:31:08 +01:00
2025-11-29 13:31:08 +01:00
2025-04-18 11:39:58 -04:00
2025-10-28 19:32:27 +01:00
2025-07-03 09:33:07 -04:00
2025-03-17 11:54:53 -04:00
2025-09-24 00:19:51 +02:00
2025-04-18 11:39:58 -04:00
2026-01-07 15:59:04 +01:00
2025-11-23 20:43:55 +05:30
2024-10-18 11:26:58 -05:00
2024-10-18 11:26:58 -05:00
2025-12-17 18:37:35 +01:00
2025-10-30 14:07:16 +01:00
2025-12-12 16:05:53 +01:00
2024-11-08 09:58:35 -06:00
2024-08-23 10:06:24 -04:00
2025-11-22 02:15:20 +01:00
2025-05-23 18:58:22 -04:00
2025-11-28 20:42:57 +01:00
2025-11-25 20:21:29 +01:00
2025-11-20 19:50:22 +01:00
2024-08-23 09:33:42 -04:00
2025-11-01 09:12:42 +01:00
2025-04-01 07:21:54 -04:00
2025-12-17 18:37:35 +01:00
2025-09-24 00:19:51 +02:00
2025-10-25 22:23:28 +02:00
2025-02-21 11:57:59 -05:00
2025-02-21 11:57:59 -05:00
2025-11-27 10:59:33 +01:00
2025-10-28 19:32:27 +01:00
2025-11-22 02:14:29 +01:00
2025-07-03 09:33:07 -04:00
2026-01-07 15:59:04 +01:00
2025-05-15 10:19:56 -04:00
2025-12-17 16:03:05 +01:00
2025-04-14 11:40:34 -04:00
2025-12-07 13:20:54 +01:00
2025-12-07 16:30:02 +01:00
2025-12-12 16:58:57 +01:00
2025-08-02 00:28:55 +02:00
2025-11-20 08:31:03 +01:00
2025-05-15 10:19:56 -04:00
2025-12-07 18:11:34 +01:00
2026-01-05 22:11:47 +01:00
2026-01-07 16:15:28 +01:00
2025-05-15 10:19:56 -04:00
2025-11-25 20:21:29 +01:00
2025-04-14 11:40:34 -04:00
2024-05-23 08:09:33 -04:00
2025-03-28 13:08:22 -04:00
2025-05-22 12:43:24 -04:00
2025-07-10 18:40:38 -04:00
2025-12-17 18:37:35 +01:00
2025-12-19 23:24:48 +01:00
2025-12-30 19:06:40 +01:00
2025-02-21 11:57:59 -05:00
2025-04-01 07:21:54 -04:00
2025-12-17 16:03:05 +01:00
2025-07-15 11:42:41 -04:00
2025-04-14 11:40:34 -04:00