Interface Layer1ApiTradingAdapter

All Superinterfaces:
Layer1ApiTradingListener
All Known Subinterfaces:
Layer1ApiAdapter, OnlineValueCalculatorAdapter, StrategyUpdateGenerator

public interface Layer1ApiTradingAdapter
extends Layer1ApiTradingListener

Provides default empty implementations.

  • Method Summary

    Modifier and Type Method 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).