io.fair_acc.sample.financial.service.consolidate.IncrementalOhlcvConsolidation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of samples Show documentation
Show all versions of samples Show documentation
Small sample applications to showcase the features of the chart-fx library.
The newest version!
package io.fair_acc.sample.financial.service.consolidate;
import io.fair_acc.sample.financial.dos.DefaultOHLCV;
import io.fair_acc.sample.financial.dos.OHLCVItem;
import io.fair_acc.sample.financial.service.period.IntradayPeriod;
public interface IncrementalOhlcvConsolidation {
/**
* Base method for incremental consolidation process
* @param ohlcv existed consolidated ohlcv structure
* @param incrementItem tick actual ohlcv item
* @return consolidated signal
*/
DefaultOHLCV consolidate(DefaultOHLCV ohlcv, OHLCVItem incrementItem);
/**
* @return provides information about consolidation settings period
*/
IntradayPeriod getPeriod();
}