mirror of
https://github.com/NexVeridian/ark-invest-api-rust-data.git
synced 2025-09-02 09:59:12 +00:00
fix csv merge, fix ark europe csv
This commit is contained in:
parent
5575b2c073
commit
4e260f2fa2
2 changed files with 38 additions and 3 deletions
|
@ -33,6 +33,10 @@ fn print_df(ticker: &Ticker, df: &DataFrame) {
|
|||
|
||||
fn csv_merge() -> Result<(), Error> {
|
||||
for ticker in Ticker::iter() {
|
||||
if !std::path::Path::new(&format!("./data/csv/{}", ticker)).exists() {
|
||||
continue;
|
||||
}
|
||||
|
||||
let df = Ark::merge_old_csv_to_parquet(ticker, None)?
|
||||
.format()?
|
||||
.sort()?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue