mirror of
https://github.com/NexVeridian/ark-invest-api-rust-data.git
synced 2025-09-02 01:49:12 +00:00
fix api full
This commit is contained in:
parent
a9f5137fbf
commit
d020e38baa
1 changed files with 3 additions and 3 deletions
|
@ -610,14 +610,14 @@ impl Ark {
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
(self::Ticker::ARKVX, None) => {
|
(self::Ticker::ARKVX, None) => {
|
||||||
"https://api.nexveridian.com/ark_holdings?ticker=ARKVX".to_owned()
|
"https://api.nexveridian.com/ark_holdings?ticker=ARKVX&start=2000-01-01".to_owned()
|
||||||
}
|
}
|
||||||
(tic, None) => match source {
|
(tic, None) => match source {
|
||||||
Some(Source::ArkFundsIoFull) => {
|
Some(Source::ArkFundsIoFull) => {
|
||||||
format!("https://arkfunds.io/api/v2/etf/holdings?symbol={}", tic)
|
format!("https://arkfunds.io/api/v2/etf/holdings?symbol={}&date_from=2000-01-01", tic)
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
format!("https://api.nexveridian.com/ark_holdings?ticker={}", tic)
|
format!("https://api.nexveridian.com/ark_holdings?ticker={}&start=2000-01-01", tic)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue