-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add toggle for displaying volume in tradestatistics chart in USD #5066
Add toggle for displaying volume in tradestatistics chart in USD #5066
Conversation
Volume was created at each access from amount and price. To improve performance we cache the result once calculated.
Precalculate the USD average prices for tick intervals and use that for converting the BTC volume to USD volume.
Does it have to be USD? 😅 |
It need to be fiat currency sufficiently trades, so EUR or USD are the only one which always got some volume. We calculate the historical price based on those trades. The calculation is a bit expensive so I dont want to do it for multiple currencies. Also for most USD price is kind of the main price metric. Does not mean any endoresement of USD of course - the biggest shitcoin in fiat land. ;-) |
Fix incorrect removeListener call on priceColumn.textProperty() instead of priceColumnLabel
changed or we got added new trade stats
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.
utACK
Glad to see this feature. I just tweeted about it here: https://twitter.com/cbeams/status/1357298837052866560, and added a a follow-on feature request at #5154. |
Adds a toggle to show trade statistics volume in USD instead of BTC