public interface Layer1ApiTradingAdapter extends Layer1ApiTradingListener
Provides default empty implementations.
| Modifier and Type | Method and Description |
|---|---|
default void |
onBalance(BalanceInfo balanceInfo)
Called when account balance information changes
|
default void |
onOrderExecuted(ExecutionInfo executionInfo)
Called when one of our orders gets executed
|
default void |
onOrderUpdated(OrderInfoUpdate orderInfoUpdate)
Called when order is updated (order creation is also considered an
update).
|
default void |
onStatus(StatusInfo statusInfo)
Called when instrument status information changes (PnL, number of open
orders, position, etc).
|
default void onOrderUpdated(OrderInfoUpdate orderInfoUpdate)
Layer1ApiTradingListeneronOrderUpdated in interface Layer1ApiTradingListenerorderInfoUpdate - information about updatedefault void onOrderExecuted(ExecutionInfo executionInfo)
Layer1ApiTradingListeneronOrderExecuted in interface Layer1ApiTradingListenerexecutionInfo - information about executiondefault void onStatus(StatusInfo statusInfo)
Layer1ApiTradingListeneronStatus in interface Layer1ApiTradingListenerstatusInfo - status informationdefault void onBalance(BalanceInfo balanceInfo)
Layer1ApiTradingListeneronBalance in interface Layer1ApiTradingListenerbalanceInfo - account balance information