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

Remove dependency on stock exchange table (#1368)

This commit is contained in:
Josh Pigford 2024-10-25 13:09:02 -05:00 committed by GitHub
parent b75b41a5e2
commit 45935db5f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 37 additions and 22 deletions

View file

@ -40,7 +40,8 @@ class Provider::Marketstack
{
name: ticker["name"],
symbol: ticker["symbol"],
exchange: exchange_mic || ticker.dig("stock_exchange", "mic"),
exchange_mic: exchange_mic || ticker.dig("stock_exchange", "mic"),
exchange_acronym: ticker.dig("stock_exchange", "acronym"),
country_code: ticker.dig("stock_exchange", "country_code")
}
end