mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-10 07:55:21 +02:00
synth: Use mic_code
as param when fetching security price.
Fixes: #2034.
This commit is contained in:
parent
6331788b33
commit
5a019e6ff1
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class Provider::Synth < Provider
|
|||
end_date: end_date
|
||||
}
|
||||
|
||||
params[:operating_mic_code] = security.exchange_operating_mic if security.exchange_operating_mic.present?
|
||||
params[:mic_code] = security.exchange_operating_mic if security.exchange_operating_mic.present?
|
||||
|
||||
data = paginate(
|
||||
"#{base_url}/tickers/#{security.ticker}/open-close",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue