Interface InstrumentProvider

All Known Implementing Classes:
FxCrossInstrumentProvider

public interface InstrumentProvider
An interface for querying the instrument for a RET user and currency pair.
  • Method Details

    • initialise

      void initialise(InstrumentProvider.Context context)

      This notifies the InstrumentProvider that it is about to be loaded. This method will be called by the system once.

      You should use this method to perform any initialisation required before the InstrumentProvider is loaded by the system.

    • getInstrument

      String getInstrument(String ssoUsername, String toboUsername) throws InstrumentNotFoundException

      Returns the instrument for the given ssoUsername.

      Use this method to determine which instrument should be returned.

      Throws:
      InstrumentNotFoundException