Package velox.api.layer1.simplified
Interface DepthDataAdapter
- All Superinterfaces:
DepthDataListener
public interface DepthDataAdapter extends DepthDataListener
An adapter for
DepthDataListener with empty default method
implementations-
Method Summary
Modifier and Type Method Description default voidonDepth(boolean isBid, int price, int size)Called on each incremental depth update
-
Method Details
-
onDepth
default void onDepth(boolean isBid, int price, int size)Description copied from interface:DepthDataListenerCalled on each incremental depth update- Specified by:
onDepthin interfaceDepthDataListener- Parameters:
isBid- true if update describes changes to bid side of the order bookprice- price where the update happens (as level number)size- new size on the level (0 if level is removed)
-