Interface InstrumentProvider
- All Known Implementing Classes:
FxCrossInstrumentProvider
public interface InstrumentProvider
An interface for querying the instrument for a RET user and currency pair.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetInstrument
(String ssoUsername, String toboUsername) Returns the instrument for the given ssoUsername.void
initialise
(InstrumentProvider.Context context) This notifies the InstrumentProvider that it is about to be loaded.
-
Method Details
-
initialise
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
Returns the instrument for the given ssoUsername.
Use this method to determine which instrument should be returned.
- Throws:
InstrumentNotFoundException
-