test.SortStringArray( arrayIndex, direction, elementCount )
Syntax: |
---|
test.SortInstrumentList( iMethod ) |
Parameter: |
Description: |
---|---|
iMethod |
The number listed in the next table describes the type of sorting that will happen. |
Sorts the physical instrument list that is used for the simulation loop using the method indicated:
Method Value: |
Sorting Method Description: |
---|---|
1 |
Long Ranked value sorts the instrument list by the current Long Rank number order. |
2 |
Long Ranking script assigned value will be sorted in ascending order. |
3 |
Dictionary assigned Original Order Sort value. |
4 |
Custom Sort Value order. |
5 |
Alphabetical by Symbol |
6 |
Alphabetical by Group. |
|
Note:All market symbols are sorted regardless of whether they are primed when the sorting happens.
Instruments for these Sort Types need a dictionary source for these methods: 3 Order Sort Value 4 Custom Sort Value 6 Group Name |
Example: |
---|
See the System.SortInstrumentList(5)topic for scripting information.
|
Returns: |
---|
|
Links: |
---|
|
See Also: |
|
Edit Time: 11/19/2020 12:38:27 PM |
Topic ID#: 722 |