Caplin Trader 4.7.1

Class: module:caplin/chart/study/Factory

module:caplin/chart/study/Factory

Constructor

new module:caplin/chart/study/Factory()

Methods

(static) createStudy(alias, derivationParams, listener, configOverridesopt) → {module:caplin/chart/Study}

Instantiates a new study object based on the provided alias.
Parameters:
Name Type Attributes Description
alias Object The Study alias.
derivationParams Object Study options.
listener Object The listener for study data.
configOverrides Object <optional>
Configuration passed from the descendant class upon instantiation.
Throws:
if the study alias is invalid.
Type
module:caplin/core/Error
Returns:
The study object.
Type
module:caplin/chart/Study