nimo23
nimo23
Actually, in `PrecisionNum` we have the line `private static final int DEFAULT_PRECISION = 32;` and in `DoubleNum` we have the line `private final static double EPS = 0.00001; // precision`...
In DecimalNum, we can adjust the precision within the constructor. We should also consider to make the precision for DoubleNum flexible: ``` .. // this should be renamed to DEFAULT_PRECISION...
First step done: https://github.com/ta4j/ta4j/pull/580 The next step to discuss: provide a property for setting another EPSILON (for example, with 15 digits instead of the default of 5)
Currently, ta4j use time periods to distinguish bars. Tick bars represent a **specific number of trades** as opposed to a specific time period. It is a good idea to support...
>to have an external counter to make sure I put the same number of tick in each bar I think you can create a PR with `TickBarAggregtor` (which handles the...
Yes, we could improve the aggregator interface to add a method like addBar().
@favetelinguis we can create a static method `addBar()` within `BarSeriesUtils` which takes an aggregated barSeries and a new bar (which will be aggregated and appended to the given aggregated barSeries)....
I would like to add a `TickBarAggregator` to create tick bars. I would also like to have `addBar()` in BarSeriesUtils which takes the latest non tick bar, aggregates it and...
Instead of this: `private final Num zero = numOf(0); // put those initialization into constructor` I suggest to provide the common Nums within `DecimalNum` and `DoubleNum` and discriminate those static...
@johnthetireless Thanks again for your suggestion. I added https://github.com/ta4j/ta4j/pull/734 which can be used to resolve the numOf(constant). If you want, create a PR after mine was merged and adapt those...