Lack of precision using float in CandleEntry()
Author: abiemannCreated Jun 19, 2019Updated Apr 13, 2026
Summary CandleEntry is used to represent financial data, however, the constructor expects float's. Everyone working with financial data knows that a "float" lacks precision.
Expected Behavior Use of a Double would be better. BigDecimal would be best.
Possible Solution change float to double, i.e.
Device (please complete the following information): not relevant
Additional Context N/A
Source: PhilJay/MPAndroidChart