Hi,
I’m trying to get familiar with q, so i was trying to use yahoo.q from the cookbook (http://code.kx.com/svn/cookbook\_code). On the surface it works fine, but i noticed it is always returning me about the name number of records in the table no matter how many days i specify:
q)count yahoo[360;`GOOG]
18
I to debug it and found out that the result of the http request seems to always be yielding the same length:
q)stock:`GOOG
q)txt: `:http://ichart.finance.yahoo.com “GET /table.csv?s=” , (string stock) , params , " http/1.0\r\nhost:ichart.finance.yahoo.com\r\n\r\n";
q)txt
"HTTP/1.1 200 OK\r\nDate: Tue, 01 May 2012 03:40:49 GMT\r\nP3P: policyref="h..
q)count txt
1400
So i’m wondering if i missed some setting somewhere, it’s a bug or simply a known limitation ?
Not sure if it is relevant, but i’m using the Play version.
Thanks in advance
Alex.