Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dali-rp2 sliently exits, no errors, no output #263

Closed
Maitaikawika opened this issue Oct 12, 2024 · 6 comments
Closed

dali-rp2 sliently exits, no errors, no output #263

Maitaikawika opened this issue Oct 12, 2024 · 6 comments

Comments

@Maitaikawika
Copy link

Here's what happens when I try to run dali-rp2:

dherring@Davids-Mac-Pro dali_rp2 % dali_us -s -o output -p 2003_ config.ini
INFO: Country: us
INFO: Initialized input plugin 'dali.plugin.input.csv.manual'
INFO: No pair converter plugins found in configuration file: using default pair converters.
INFO: Reading crypto data using plugin 'dali.plugin.input.csv.manual'
INFO: Building manifest to optimize price calculation with the pair converters.
INFO: Resolving transactions
0% | | Elapsed Time: 0:00:01 ETA: 11:14:05
dherring@Davids-Mac-Pro dali_rp2 %

It just instantly exists. No log information written beyond what I just posted above. output folder created if not exist, but no output written.

Here is my config.ini file:

Global configuration

Data loaders

[dali.plugin.input.csv.manual]
in_csv_file = in_csv_file.csv
out_csv_file = out_csv_file.csv
intra_csv_file = intra_csv_file.csv

The "in" and "out" files have around 9000 records in each, plus or minus.

My exchanges are binance.us and kracken. I'm using manual because as I read the documentation, there are not data loaders available for them yet.

I have confirmed this same behavior when trying the test files you provide at github. Identical silent failure.

I have also confirmed this same behavior on both Ubuntu Linux (Linux Mint 21.3) with python 3.10.12 and MacOS Monterey 12.7.5 with python version 3.13.0. dali_us version 0.6.11 installed with pip as per your instructions.

Please advise if further information required.

@macanudo527
Copy link
Collaborator

Yeah, sorry, this is an issue with the Historic Crypto pair converter plugin, that should be resolved with #262 . If you are technically minded, you can download that branch and try it out. Otherwise, we should get it pushed through soonish, maybe within a week?

You could try the CCXT pair plugin which should work. It will use Kraken prices by default. However, it will need to download a 4gig CSV file to do that. It is more robust and offers more options though.

@Maitaikawika
Copy link
Author

Maitaikawika commented Oct 13, 2024

It would appear that the 4gb file this plugin needs is no longer available, either via the plugin or manual download. At least that's the story I'm getting today. My taxes are due Tuesday, so at this point I'll have to find some other way to process my data. Not sure I can grab the branch associated with #262 but I might try it and see how far I get.

@macanudo527
Copy link
Collaborator

Sorry about that. Kraken most likely updated the file and forgot to update the link. They do that almost every time they update it. I emailed them. They usually fix it pretty quickly, but if you need something now I would recommend using the branch.

@Maitaikawika
Copy link
Author

Maitaikawika commented Oct 14, 2024 via email

@macanudo527
Copy link
Collaborator

Can you get a 2022 file with pricing data? if you can, dali will not make a lookup. You can combine the 2022 with the 2023 that doesn't have pricing data.

Maybe the coinbase API only provides data from when it was up and running (around 2022?).

@macanudo527
Copy link
Collaborator

This should be permanently resolved with #264, so I'm closing it for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants