public interface Layer1ApiDataListener
| Modifier and Type | Method and Description |
|---|---|
void |
onDepth(java.lang.String alias,
boolean isBid,
int price,
int size)
Depth data update.
|
void |
onMarketMode(java.lang.String alias,
MarketMode marketMode)
Market mode update.
|
void |
onTrade(java.lang.String alias,
double price,
int size,
TradeInfo tradeInfo)
Trade
|
void onTrade(java.lang.String alias,
double price,
int size,
TradeInfo tradeInfo)
alias - instrument aliasprice - price in the same units as in depth update (e.g. if pips=25
then price=1000 means 25000)size - trade sizetradeInfo - additional information about the tradevoid onDepth(java.lang.String alias,
boolean isBid,
int price,
int size)
alias - instrument aliasisBid - true if it is for bids, false for asksprice - price where size changedsize - new sizevoid onMarketMode(java.lang.String alias,
MarketMode marketMode)
alias - marketMode -