Constructor
new module:ct-trading /trademodel /Subject Mapper()
Constructs a new SubjectMapper
.
Methods
get Instrument Name(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
get Subject(subject) → {String}
Returns the subject for a particular instrument.
Parameters:
Name | Type | Description |
---|---|---|
subject |
String | The subject name. |
Returns:
The subject
- Type
- String