mirror of
https://github.com/NexVeridian/ark-invest-api-rust-data.git
synced 2025-09-02 09:59:12 +00:00
ARKA and ARKZ closes #3
This commit is contained in:
parent
65824f7a70
commit
2bf10bc5a4
2 changed files with 6 additions and 6 deletions
10
src/util.rs
10
src/util.rs
|
@ -21,8 +21,8 @@ pub enum Ticker {
|
|||
ARKQ,
|
||||
ARKW,
|
||||
ARKX,
|
||||
// ARKA,
|
||||
// ARKZ,
|
||||
ARKA,
|
||||
ARKZ,
|
||||
ARKC,
|
||||
ARKD,
|
||||
ARKY,
|
||||
|
@ -37,8 +37,8 @@ impl Ticker {
|
|||
Ticker::ARKQ => "AUTONOMOUS_TECH._&_ROBOTICS",
|
||||
Ticker::ARKW => "NEXT_GENERATION_INTERNET",
|
||||
Ticker::ARKX => "SPACE_EXPLORATION_&_INNOVATION",
|
||||
// Ticker::ARKA => "ARKA",
|
||||
// Ticker::ARKZ => "ARKZ",
|
||||
Ticker::ARKA => "ARKA",
|
||||
Ticker::ARKZ => "ARKZ",
|
||||
Ticker::ARKC => "ARKC",
|
||||
Ticker::ARKD => "ARKD",
|
||||
Ticker::ARKY => "ARKY",
|
||||
|
@ -607,7 +607,7 @@ impl Ark {
|
|||
pub fn get_csv_ark(&self) -> Result<DataFrame, Error> {
|
||||
let url = match self.ticker {
|
||||
self::Ticker::ARKVX => "https://ark-ventures.com/wp-content/uploads/funds-etf-csv/ARK_VENTURE_FUND_HOLDINGS.csv".to_owned(),
|
||||
// self::Ticker::ARKA | self::Ticker::ARKZ |
|
||||
self::Ticker::ARKA | self::Ticker::ARKZ |
|
||||
self::Ticker::ARKC | self::Ticker::ARKD | self::Ticker::ARKY => format!("https://cdn.21shares-funds.com/uploads/fund-documents/us-bank/holdings/product/current/{}-Export.csv", self.ticker.value()),
|
||||
_ => format!("https://ark-funds.com/wp-content/uploads/funds-etf-csv/ARK_{}_ETF_{}_HOLDINGS.csv", self.ticker.value(), self.ticker),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue