feat: Add Twelve Data provider for exchange rates and securities (#2)

* feat: Add Twelve Data provider for exchange rates and securities

* test: fix hosting controller test, linting

* fix: add countries gem to handle country codes in Twelve Data provider

* fix: allow security search combobox to have no logo

* refactor: update Twelve Data provider use time series endpoint

* fix: set twelve data as default provider
This commit is contained in:
Vincent Teo
2025-08-01 07:31:37 +10:00
committed by GitHub
parent 2458fa90c8
commit 5bdefe6e63
19 changed files with 301 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ class Account::MarketDataImporterTest < ActiveSupport::TestCase
@provider = mock("provider")
Provider::Registry.any_instance
.stubs(:get_provider)
.with(:synth)
.with(:twelve_data)
.returns(@provider)
end

View File

@@ -17,7 +17,7 @@ class MarketDataImporterTest < ActiveSupport::TestCase
@provider = mock("provider")
Provider::Registry.any_instance
.stubs(:get_provider)
.with(:synth)
.with(:twelve_data)
.returns(@provider)
end