This commit is contained in:
Elijah McMorris 2023-11-21 19:25:32 +00:00
parent acf6858c6c
commit 925760b614
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
4 changed files with 53 additions and 17 deletions

View file

@ -67,7 +67,7 @@ async fn spawn_ark_plan(ticker: Ticker) -> Result<(), Error> {
async fn ark_etf() {
let futures = Ticker::iter()
.filter(|&x| x != Ticker::ARKVC)
.filter(|&x| x != Ticker::ARKVX)
.map(spawn_ark_plan)
.collect::<Vec<_>>();
@ -99,7 +99,7 @@ async fn main() {
scheduler
.every(5.day())
.at("11:30 pm")
.run(|| async { if spawn_ark_plan(Ticker::ARKVC).await.is_ok() {} });
.run(|| async { if spawn_ark_plan(Ticker::ARKVX).await.is_ok() {} });
loop {
scheduler.run_pending().await;