Package de.gsi.financial.samples.service
Interface TickOhlcvDataProvider
-
public interface TickOhlcvDataProviderProvides actual tick data
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OHLCVItemget()Every get() returns tick ohlcv item.
-
-
-
Method Detail
-
get
OHLCVItem get() throws TickDataFinishedException, java.io.IOException
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.- Returns:
- provides tick ohlcv data
- Throws:
TickDataFinishedException- if the data are reached the boundaryjava.io.IOException- - the data are not reachable
-
-