1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 07:39:39 +02:00

Market data sync refinements (#2252)

* Exchange rate syncer implementation

* Security price syncer

* Fix issues with provider API

* Add back prod schedule

* Add back price and exchange rate syncs to account syncs

* Remove unused stock_exchanges table
This commit is contained in:
Zach Gollwitzer 2025-05-16 14:17:56 -04:00 committed by GitHub
parent 6917cecf33
commit 6dc1d22672
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 1206 additions and 1615 deletions

View file

@ -15,6 +15,7 @@ module ExchangeRateProviderInterfaceTest
assert_equal "USD", rate.from
assert_equal "GBP", rate.to
assert rate.date.is_a?(Date)
assert_in_delta 0.78, rate.rate, 0.01
end
end
@ -26,6 +27,7 @@ module ExchangeRateProviderInterfaceTest
)
assert_equal 213, response.data.count # 213 days between 01.01.2024 and 31.07.2024
assert response.data.first.date.is_a?(Date)
end
end