Difference between revisions of "Category"
Jump to navigation
Jump to search
(→Usage) |
|||
Line 6: | Line 6: | ||
The following values are returned for each category: | The following values are returned for each category: | ||
− | :'''0''' – Future, | + | :'''0''' – Future, Custom Futures, |
:'''1''' – Future Option, | :'''1''' – Future Option, | ||
:'''2''' – Stock, | :'''2''' – Stock, | ||
Line 19: | Line 19: | ||
:'''11''' – Spread, | :'''11''' – Spread, | ||
:'''12''' – Forex, | :'''12''' – Forex, | ||
− | :'''14''' – Composite. | + | :'''14''' – Composite, |
+ | :'''20''' – Cryptoсurrency. | ||
== Example == | == Example == |
Latest revision as of 12:06, 4 October 2018
Returns a numerical value, indicating the category (financial instrument type) of the symbol that study is applied to.
Usage
Category
The following values are returned for each category:
- 0 – Future, Custom Futures,
- 1 – Future Option,
- 2 – Stock,
- 3 – Stock Option,
- 4 – Index,
- 5 – Currency Option,
- 6 – Mutual Fund,
- 7 – Money Market Fund,
- 8 – Index Option,
- 9 – Cash,
- 10 – Bond,
- 11 – Spread,
- 12 – Forex,
- 14 – Composite,
- 20 – Cryptoсurrency.
Example
Assign a value, indicating the type of symbol that the study is applied to, to Value1 variable:
Value1 = Category;