knowm / XChange

XChange is a Java library providing a streamlined API for interacting with 60+ Bitcoin and Altcoin exchanges providing a consistent interface for trading and accessing market data.
http://knowm.org/open-source/xchange/
MIT License
3.82k stars 1.93k forks source link

Change MathContext to 64, as 32 is not enough for some coins #4802

Closed romanbsd closed 3 months ago

romanbsd commented 7 months ago

Turns out, that DECIMAL32 is not enough. For example for TRX:

Screenshot 2023-12-07 at 13 48 01