-
-
Notifications
You must be signed in to change notification settings - Fork 17
Generate a beancount file with transaction history for a descriptor #58
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
Conversation
Add `/exchanges` endpoint that returns exchange metadata. (Fixes BlockchainCommons#54) Cleanup variable and function naming style (https://google.github.io/styleguide/pyguide.html#316-naming) to fix BlockchainCommons#51. Freeze dependencies. Cleanup imports. Cleanup logging. Improve error handling. Refactor configuration settings. Load settings using dotenv. Use `flask run` to run the server. Begin refactor to simplify data collection. Use concurrent requests to servers. Remove unused functions. Remove database storage.
Use threads for HTTP requests.
Fix getting candles at specific dates.
…ative amount of btc.
Propagate a useful error to the command line. Raise an error from get_candles_at_dates if ccxt doesn't return any data for a request.
|
@icculp If you have time, here's another PR that could benefit from your review. 😄 |
|
@nochiel Ready for merge? |
Yes, it is. Thanks. 👍🏾 |
ChristopherA
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR was reviewed by an external volunteer, @hanhungsoo. As this project is still technically still "Late Alpha" and the current online version is unstable, I am going ahead and committing this PR to the master branch without additional review.
@shannona — we should tag this commit.
This PR builds on #55.
Given an output descriptor, we would like to:
TODO (In subsequent PRs after this is merged)
Blockchain Commons and @ChristopherA should confirm what additional accounting data should be in the beancount file.
Tests for each descriptor type. Ensure that Spotbit can generate valid addresses supported by BDK.
UI: Add beancount UX to web front-end.
Package spotbit as an executable.
Example:
python app.py beancount "wpkh(tpubD9hudZxy8Uj3453QrsEbr8KiyXTYC5ExHjJ5sNDVW7yKJ8wc7acKQcpdbvZX6dFerHK6MfVvs78VvGfotjN28yC4ij6nr4uSVhX2qorUV8V/0/*)"Outputs:
spotbit.beancountReferences