Closed rroels closed 3 years ago
I agree, the library should also work for BTC. I have upgrade the volume to u64, which should be sufficient for a while. I have also added a unit test for BTC, it's always good to have extreme cases covered by tests.
Since the library has reached a more or less stable state, I have decided to upgrade the version number to 1.0.0.
First of all, thanks a lot for the great library, it's been a great help.
However, I'm running into an issue with certain tickers that have a daily volume that's too big for a u32. This results in the following Err():
To reproduce:
Yes, I'm aware that BTC is not a typical "stock", but I still hope that I can use this library for BTC, since I'm already using it for other tickers anyway. There's also a chance that this issue can occur with normal stocks too.
Thanks again for the great work.