Interface OrderListener

All Known Implementing Classes:
BinaryOrderPublisher
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface OrderListener
All-primitive order callback on the venue side of the fast lane: no order object, no boxing, no allocation. Invoked on the gateway's venue thread.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onOrder(long orderId, int symbolId, Side side, long quantity, double price, long timestampNanos)
     
  • Method Details

    • onOrder

      void onOrder(long orderId, int symbolId, Side side, long quantity, double price, long timestampNanos)