public interface LoadingDataListener
| Modifier and Type | Method and Description |
|---|---|
void |
newBar(Instrument instrument,
Period period,
OfferSide side,
long time,
double open,
double close,
double low,
double high,
double vol)
Called to pass bar data
|
void |
newTick(Instrument instrument,
long time,
double ask,
double bid,
double askVol,
double bidVol)
Called to pass tick data
|
void newTick(Instrument instrument, long time, double ask, double bid, double askVol, double bidVol)
instrument - 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(Instrument instrument, Period period, OfferSide side, long time, double open, double close, double low, double high, double vol)
instrument - 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.