Package
caplin.chart.study

Factory

A static class that is used to construct new study objects.

You will use this factory if you are creating a new study that internally uses another study.

Constructor Summary

Attributes Name and Description
caplin.chart.study.Factory()

Method Summary

Attributes Name and Description
<static> Object createStudy(Object alias, Object derivationParams, Object listener, Object configOverrides)

Instantiates a new study object based on the provided alias.

Constructor Detail

caplin.chart.study.Factory()

Method Detail

<static> Object createStudy(Object alias, Object derivationParams, Object listener, Object configOverrides)

Instantiates a new study object based on the provided alias.

Parameters
Object alias The Study alias.
Object derivationParams Study options.
Object listener The listener for study data.
Object configOverrides (optional) Configuration passed from the descendant class upon instantiation.
Throws
caplin.core.Error
if the study alias is invalid.
Returns
{Object} caplin.chart.Study object.