public interface DataLoadingListener
Modifier and Type | Method and Description |
---|---|
void |
newBar(IFinancialInstrument financialInstrument,
Period period,
OfferSide side,
long time,
double open,
double close,
double low,
double high,
double vol)
Called to pass bar data
|
void |
newTick(IFinancialInstrument financialInstrument,
long time,
double ask,
double bid,
double askVol,
double bidVol)
Called to pass tick data
|
void newTick(IFinancialInstrument financialInstrument, long time, double ask, double bid, double askVol, double bidVol)
financialInstrument
- instrument of the ticktime
- time of the tickask
- best ask pricebid
- best bid priceaskVol
- volume for the best ask pricebidVol
- volume for the best bid pricevoid newBar(IFinancialInstrument financialInstrument, Period period, OfferSide side, long time, double open, double close, double low, double high, double vol)
financialInstrument
- instrument of the barperiod
- period of the barside
- side of the bar (bid or ask)time
- time of the baropen
- open priceclose
- close pricelow
- lowest pricehigh
- highest pricevol
- volume of the bar (sum of volumes for best prices of all ticks)Copyright © 2016. All rights reserved.