Comments (3)
Thanks for the report!
Took a quick look at it, the CoinGecko API rate limiting was not handled correctly (rate limiting was only working for http but not for https), so it would fail at the first bad status code.
Fixed in the latest version ( 29950a6 ) - it now retries up to 5 times in case a bad status code is returned, while also respecting CoinGecko's retry-after header, if present.
As to your note, the price is only fetched once for each day 🙂
from eth2-staking-rewards-calculator.
By the way, if I may ask, is there any reason you're not using ETH2.tax ?
I am planning to add the following to the ETH2.tax website, at which point I think it will be the easier option:
- download CSV rewards for all validators at once (instead of having to click on the button for every validator)
- (opt-in) store the previous inputs in the browser cookies, so that you don't have to enter them every time you access the site
from eth2-staking-rewards-calculator.
I like have a CLI plus I want to do some post processing. Specifically, I'll be adding all my validators into one table and then possibly aggregating that table by week or month to be easier to handle by my accountant.
Also, I like having things I've downloaded and can just run. Otherwise, part of my tax prep processes is figure out how the tooling has changed so I can adapt my programs to it. This is what I have to do with coinbase and other exchanges.
from eth2-staking-rewards-calculator.
Related Issues (7)
- Dates outside the range HOT 5
- Something went wrong while fetching price data from CoinGecko HOT 2
- Cost basis / LTCG / STCG HOT 2
- Traceback error - v2.0.2 Prysm HOT 4
- EVM Fees HOT 1
- Exception: Error while fetching data from beacon node: {"code":404,"message":"NOT_FOUND: beacon state at slot 2847598","stacktraces":[]} HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eth2-staking-rewards-calculator.