Add security prices provider (Synth integration) (#1039)

* User tickers as primary lookup symbol instead of isin

* Add security price provider

* Fetch security prices in bulk to improve sync performance

* Fetch prices in bulk, better mocking for tests
This commit is contained in:
Zach Gollwitzer
2024-08-01 19:43:23 -04:00
committed by GitHub
parent c70c8b6d86
commit 453a54e5e6
33 changed files with 584 additions and 118 deletions

View File

@@ -1,11 +1,11 @@
one:
isin: US0378331005 # AAPL
ticker: AAPL
date: <%= Date.current %>
price: 215
currency: USD
two:
isin: US0378331005 # AAPL
ticker: AAPL
date: <%= 1.day.ago.to_date %>
price: 214
currency: USD