Caplin Trader 4.0.3

Class: module:caplin/fx/presenter/FxCalendarDateField

module:caplin/fx/presenter/FxCalendarDateField

Constructor

new module:caplin/fx/presenter/FxCalendarDateField(sInstrument, sNamespace, fReadyListeneropt)

Parameters:
Name Type Attributes Description
sInstrument String The associated instrument, e.g. '/FX/USDCAD'
sNamespace String e.g. 'FwdTenor'
fReadyListener function <optional>
A callback function that is invoked after the field has obtained data from various services and is enabled

Extends

Members

tenor :module:caplin/presenter/property/WritableProperty

The current tenor property
Type:

tenors :module:br/presenter/node/NodeList

List of tenor nodes
Type:

Methods

isValidTenor(sLabel) → {boolean}

Test if the given string label is a valid tenor.
Parameters:
Name Type Description
sLabel String the label to check
Returns:
True if the label is a valid tenor
Type
boolean