Constructor
new module:caplin/trading/trademodel/SubjectMapper()
Constructs a new
SubjectMapper
.
Methods
-
getInstrumentName(instrument) → {String}
-
Returns the instrument name for a particular sSubject.
Parameters:
Name Type Description instrument
String The instrument name. Returns:
The instrument name.- Type
- String
-
getSubject(subject) → {String}
-
Returns the subject for a particular instrument.
Parameters:
Name Type Description subject
String The subject name. Returns:
The subject- Type
- String