more get url changes

This commit is contained in:
Elijah McMorris 2024-06-08 02:20:00 -07:00
parent 628eb8e640
commit 952014f88f
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8

View file

@ -347,6 +347,7 @@ impl Ark {
])
.collect()?;
}
Ok(df.into())
}
@ -666,7 +667,12 @@ impl Ark {
"https://arkfunds.io/api/v2/etf/holdings?symbol={}&date_from={}",
tic, last_day
),
(tic, None, Some(Source::ArkFundsIoFull)) => format!(
(tic, None, Some(Source::ArkFundsIoIncremental)) => format!(
"https://arkfunds.io/api/v2/etf/holdings?symbol={}&date_from={}",
tic, default_start_day
),
(tic, _, Some(Source::ArkFundsIoFull)) => format!(
"https://arkfunds.io/api/v2/etf/holdings?symbol={}&date_from={}",
tic, default_start_day
),