Joined: |
Aug 24, 2013 12:04 PM |
Last Post: |
Aug 24, 2013 12:15 PM |
Last Visit: |
Aug 24, 2013 05:32 PM |
Website: |
|
Location: |
|
Occupation: |
|
Interests: |
|
|
|
andrei has contributed to 1 posts out of 21191 total posts
(0.00%) in 3,907 days (0.00 posts per day).
20 Most recent posts:
Trying to get the S&P500 stock components with below logic:
history(q,char(stocks(n)),{'01/01/2011','08/23/2013'},'Daily');
where stocks is a cell array with all 500 components. put this in a loop, with 4 sec delay, and the history command will stop returning the total amount of days for a specific symbol.
For example:
Symbol: EXPD, Nr.of days collected:665 Symbol: EXPE, Nr.of days collected:665 Symbol: F, Nr.of days collected:1
Symbol: CVS, Nr.of days collected:665 Symbol: CVX, Nr.of days collected:1
Symbol: CBE, Nr.of days collected:665 Symbol: CBG, Nr.of days collected:14
each time the program will reach these particular symbols, the history will stop returning the proper amount of days requested. The workaround is to close-down Matlab (IQF connection may remain open) and open it again.
Are there any troubleshooting means, any diagnostic commands that could help - for example assess if the connection to IQFeed is still operational ?
I assume I'm not the only one trying to download the components of an index from within matlab - are there any working samples available anywhere?
Thx
|
|