Comments (3)
Decimal uses BigDecimal under the hood.
This is needed because we want exact precision (and by the way typical math operations) without having floating point issues.
You can read more about this:
- https://stackoverflow.com/questions/6320209/javawhy-should-we-use-bigdecimal-instead-of-double-in-the-real-world
- #26
from ta4j.
For the most cases regarding securities double would do it, but the fact that many users are using this lib for analysing crypto currencies we need this high precision
from ta4j.
ah thanks, didn't know that very large or very small numbers get real messy
from ta4j.
Related Issues (20)
- DecimalNum: reduce DEFAULT_PRECISION from 32 to 16 or less HOT 2
- [BUG] ParabolicSarIndicator throws NPE from getValue() method HOT 4
- AverageReturnPerBarCriterion: formula HOT 4
- How to identify flat n market or maybe whole bollingers strategy ? HOT 2
- Make BinaryOperation public
- logback 1.3.x supports the Java EE edition (jdk1.8) οΌIs it possible not to upgrade to 11οΌ HOT 9
- Pyramid Trading - Scaling into a position - DCA Trading possible ? HOT 10
- LagIndicator HOT 2
- KDJ
- [BUG] Reviewing process does not work as promised HOT 2
- TradingRecord#getLastPosition(): improve code
- Possible RSI bug HOT 7
- Does the lib support Other TimeFrames HOT 1
- Amount field in the BaseBar class HOT 1
- [BUG]ConvergenceDivergenceIndicator always returns false on 500 data sets with 500 bars each HOT 1
- [BUG] Supertrend Indicator value goes to 0 and stays 0 forever HOT 2
- Zig Zag indicator implementation question HOT 3
- Create releases more often HOT 17
- Trade style specific question [Support and resistence] HOT 8
- Can ta4j backtest trading multiple stocks simultaneously HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ta4j.