diff --git a/app/models/security/price/provided.rb b/app/models/security/price/provided.rb index aed56702..c429e0a6 100644 --- a/app/models/security/price/provided.rb +++ b/app/models/security/price/provided.rb @@ -15,7 +15,7 @@ module Security::Price::Provided response = provider.fetch_security_prices \ ticker: security.ticker, - mic_code: security.exchange_mic, + mic_code: security.exchange_operating_mic, start_date: date, end_date: date @@ -40,7 +40,7 @@ module Security::Price::Provided response = provider.fetch_security_prices \ ticker: security.ticker, - mic_code: security.exchange_mic, + mic_code: security.exchange_operating_mic, start_date: start_date, end_date: end_date