All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fair_acc.sample.financial.service.consolidate.IncrementalOhlcvConsolidation Maven / Gradle / Ivy

Go to download

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy