mirror of
https://github.com/NexVeridian/ark-invest-api-rust-data.git
synced 2025-09-02 01:49:12 +00:00
more get url changes
This commit is contained in:
parent
628eb8e640
commit
952014f88f
1 changed files with 7 additions and 1 deletions
|
@ -347,6 +347,7 @@ impl Ark {
|
||||||
])
|
])
|
||||||
.collect()?;
|
.collect()?;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(df.into())
|
Ok(df.into())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -666,7 +667,12 @@ impl Ark {
|
||||||
"https://arkfunds.io/api/v2/etf/holdings?symbol={}&date_from={}",
|
"https://arkfunds.io/api/v2/etf/holdings?symbol={}&date_from={}",
|
||||||
tic, last_day
|
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={}",
|
"https://arkfunds.io/api/v2/etf/holdings?symbol={}&date_from={}",
|
||||||
tic, default_start_day
|
tic, default_start_day
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue