ClFormula

ClFormula

new ClFormula()

Source:

Class representing ClFormula

Classes

ClFormula

Methods

getValue(label, offIndex) → {Array}

Source:

get value from data layer

Parameters:
Name Type Description
label String
offIndex Number
Returns:
Type
Array

MA(label, period) → {Array}

Source:

calculate move averge data

Parameters:
Name Type Description
label String
period Number
Returns:
Type
Array

runSingleStock(source, formula) → {Array}

Source:

calculate single stock data by formula

Parameters:
Name Type Description
source Object
formula String
Returns:
Type
Array