Can WL order and list a data set based on some criteria?
Author: mikesblack
Creation Date: 12/2/2011 1:01 PM
profile picture

mikesblack

#1
e.g. List Russell 1000 by market cap?
profile picture

Cone

#2
Wealth-Lab can do whatever you program it to do.

1. In a loop over the DataSetSymbols (see QuickRef), calculate the MarketCap of the current symbol
2. Instantiate an object that has a string and double fields, and Add it to a generic List<>.
3. Sort the List
4. Output the results somewhere.
profile picture

Eugene

#3
For a related example, look up SetContext in the QuickRef.
profile picture

mikesblack

#4
Thank you. Where in the Wealth Lab GUI would I output this list, or would I use excel or Word files for this purpose?
profile picture

Eugene

#5
You can use anything. Debug window, or output to anywhere you want.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).