Interface Layer1ApiDataProvider

All Superinterfaces:
Layer1ApiDataListenable
All Known Subinterfaces:
Layer1ApiProvider
All Known Implementing Classes:
ExternalLiveBaseProvider, ExternalReaderBaseProvider, Layer1ApiDepthFreezer, Layer1ApiInjectorRelay, Layer1ApiRelay, Layer1ApiStrategiesEchoMessagesLayer

@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class) public interface Layer1ApiDataProvider extends Layer1ApiDataListenable
Class implementing this should provide trade/depth data to subscribers
  • Method Details

    • formatPrice

      @Nullable String formatPrice(String alias, double price)
      Format price using platform capabilities if possible
      Parameters:
      alias -
      price -
      Returns:
      Throws:
      InstrumentNotDefinedException - if instrument was not subscribed to, so pips can not be found