-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
Why are we using double for BaseCurrencyVolume and QuoteCurrencyVolume in MarketCandle? #836
Comments
There are some tradeoffs between |
I've compiled a short list of why I think
|
Okay, you've convinced me. |
Great. |
Why are we using
double
forBaseCurrencyVolume
andQuoteCurrencyVolume
inMarketCandle
?Shouldn't we use
decimal
instead?I've noticed that casting
baseVolume
andconvertVolume
to double the precision is lost.ExchangeSharp/src/ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs
Line 1099 in 1729aaf
ExchangeSharp/src/ExchangeSharp/API/Exchanges/_Base/ExchangeAPIExtensions.cs
Line 1100 in 1729aaf
The text was updated successfully, but these errors were encountered: