JoshSN
-Interested User-
Posts: 29
Joined: Apr 8, 2010
|
Posted: May 30, 2011 08:39 PM
Msg. 1 of 5
Each time the roughly 39th request returns no data, not even !E,NO_DATA
Sadly, my code can't seem to handle the return of absolutely nothing very well.
|
JoshSN
-Interested User-
Posts: 29
Joined: Apr 8, 2010
|
Posted: May 30, 2011 08:48 PM
Msg. 2 of 5
Attached is my code and the symbols I am looping over.
The symbols are not looped over in any particular order.
That if fails on the 39th or 40th try seems pretty consistent.
File Attached: script_and_input.zip (downloaded 1222 times)
|
JoshSN
-Interested User-
Posts: 29
Joined: Apr 8, 2010
|
Posted: May 30, 2011 09:50 PM
Msg. 3 of 5
Also, strangely, it seems to fail the most with the symbol TSM.
I've spent all weekend trying to figure this out.
|
DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005
|
Posted: May 31, 2011 05:29 PM
Msg. 4 of 5
Josh,
I'm not terribly familiar with perl but I believe that script just reads in your list of symbols and builds an HTT request to get tick data for May 20th between 09:30:00 and 16:00:00 for each symbol right?
I just ran through your list of symbols making the above HTT request for each and the only two symbols that returned NO_DATA were NOVL and GENZ which no longer valid symbols (but were valid recent enough to not trigger an Invalid Symbol error).
|
JoshSN
-Interested User-
Posts: 29
Joined: Apr 8, 2010
|
Posted: May 31, 2011 08:33 PM
Msg. 5 of 5
Thank you for your reply.
Using RequestIDs and a hash of filehandles seems to work.
|