Support

Equilla Formula Language

Category

Returns the instrument category of the referenced instrument.

Categories

CategoryEquity
CategoryCurrency 1
CategoryFuture 2
CategoryOption 3
CategoryBond 4
CategoryIndex 5
CategoryStatistic 6
CategoryUser 7
CategoryUnspecified 8

Examples

If the security is a future then incorporate lot size into the formula
If Category = CategoryFuture Then value1 = LotSize * Close Else value1 = Close;