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

io.fair_acc.sample.financial.service.TickOhlcvDataProvider 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;

import java.io.IOException;

import io.fair_acc.sample.financial.dos.OHLCVItem;

/**
 * Provides actual tick data
 */
public interface TickOhlcvDataProvider {
    /**
     * Every get() returns tick ohlcv item. If it is replay mode - the boundary is reached the TickDataFinishedException is thrown.
     * If the realtime mode is used - never-end loop is used. The thread waits to next data.
     * @return provides tick ohlcv data
     * @throws TickDataFinishedException if the data are reached the boundary
     * @throws IOException - the data are not reachable
     */
    OHLCVItem get() throws TickDataFinishedException, IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy