- ago
I would like to be able to use specific tickers for a particular date. As an example consider the csv file snippet below:

2012-03-16,PATK,REX,CKEC
2012-03-23,PATK,CKEC,REX
2012-03-30,PATK,CKEC,AACC
2012-04-06,PATK,AACC,BXG
2012-04-13,BXG,CKEC,LUB
2012-04-20,BXG,PTGI,CHDN
2012-04-27,PATK,BXG,PTGI
2012-05-04,PATK,BXG,KTCC
2012-05-11,JBSS,PATK,BXG
2012-05-18,JBSS,ADGF,BXG
2012-05-25,RDI,PATK,BXG
2012-06-01,SYPR,RDI,GTSI
2012-06-08,SYPR,RDI,PATK
2012-06-15,INMD,SYPR,RDI
2012-06-22,BBGI,NATH,UTMD

I could format the file to json, if that helps.

How can I go about having a changing basket of stocks, given a particular date?

Thanks much,
Evan
0
182
Solved
4 Replies

Reply

Bookmark

Sort
- ago
#1
You would accomplish this by developing a custom DataSet provider which supports so called "dynamic date ranges":

https://www.wealth-lab.com/Support/ExtensionApi/DataSetProvider
https://www.wealth-lab.com/Support/ApiReference/DateRange

For instance, this is how Wealth-Data works to contain all the historical constituents in a DataSet like Nasdaq 100 (300+ symbols) yet deliver only the 100 symbols of which the index was comprised of at a given moment.
0
Best Answer
- ago
#2
Thanks Eugene. Nice to be back with Wealth-Lab.
0
- ago
#3
Glad you like Wealth-Lab, Evan. Should you need some assistance with this, we're here to help.
0
Glitch8
 ( 12.05% )
- ago
#4
We also had an idea of building a user interface to allow people to build their own dynamic DataSets. Just one of the many great ideas accumulating :D
0

Reply

Bookmark

Sort