Handle missing weekend stock prices in sync process (#1242)

* Don't append missing prices if already known

* Add failing test

* Handle weekend stock prices

* Fix tests and gapfill logic
This commit is contained in:
Zach Gollwitzer
2024-10-04 14:19:45 -04:00
committed by GitHub
parent e8d7ee3270
commit 24d3c0243f
5 changed files with 80 additions and 7 deletions

View File

@@ -27,7 +27,6 @@ class Security::Price < ApplicationRecord
end
private
def upcase_ticker
self.ticker = ticker.upcase
end