|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LoadingDataListener
Listener to receive ticks and candles
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 price
void 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||