Fetching data from in.finance.yahoo.com
Brought to you by:
jcochrane
I've set up MAS on Windows2000 and it works fine. I'm
using the MAS(Web) that fetches data from
finance.yahoo.com.
I need to access the data for Bombay and National
Stock Exchanges of INDIA (BSE & NSE). I tried changing
the host parameter in mas_httprc to
in.finance.yahoo.com where I have found various charts
for BSE and NSE listed companies. But it doesn't work.
Error is file not found for a symbol that exists. How do I
make MAS work with the yahoo.com data for companies
listed on Indian BSE and NSE?
Thanks in advance,
Shah Nawaz
Logged In: YES
user_id=39996
Hi Shah -
I have a couple suggestions: Since mas does a regular http
query to the
yahoo site to get its data, you could try pointing your
browser to the
in.finance.yahoo.com site and selecting the symbol, along
with the same
type of data (EOD) mas uses. When you do this and your
browser displays
the resulting data, copy the query string in your browser's
URL slot
(the one you typed in.finance.yahoo.com into) and save it
into a file.
Then you can examine the file's contents and use that to try
to edit
the appropriate settings in the mas_httprc file so that the
mas query
will match the query that appeared in your browser - I think
you will
probably need to focus on the "path" setting in the
mas_httprc file.
(I realize that this could be somewhat difficult and
tedious, especially
if you're not an html expert. I'm afraid that I don't have
time to help
with this at this point, since I'm very busy, unless it's
for a fee.)
I also recommend - and you might want to try this first -
joining and
sending an email to the mas-discuss email list. You can
join it at:
http://lists.sourceforge.net/lists/listinfo/eiffel-mas-discuss
There are several international users of mas, some of whom
subscribe to
that list and you might be able to either find someone else
who ran into
your problem and found a solution or who is willing to work
with you to
try to find one.
If there is enough demand from international users, I may
decide at some
point to modify mas to more easily handle obtaining data
from yahoo's
international services (or, perhaps, from other web sites,
if they exist).
Jim