Investments interfaces

12 posts
Investments interfaces

Nikolay
MMEX Developer

Posts: 2305
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
Re: Investments interfaces

Nikolay
MMEX Developer

Posts: 2305
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
Re: Investments interfaces

Nikolay
MMEX Developer

Posts: 2305
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
I've found symbols for my stocks in yahoo market!
AFLT.ME
Aeroflot - Russian Airlines OJSC (AFLTS:RU)

SBER03.ME
Sberbank of Russia (SBER03:RM)
Industry: Commer Banks Non-US • MICEX Main • Currency: RUB

Now I've set http://finance.yahoo.com/echarts?s=%s
as stock qoutes web page.
Re: Investments interfaces

Nikolay
MMEX Developer

Posts: 2305
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
Re: Investments interfaces

Nikolay
MMEX Developer

Posts: 2305
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
I have discovered that last time sometimes yahoo return wrong date for stocks.
For example:
wget "http://finance.yahoo.com/d/quotes.csv?s=SBER03.ME&f=snd1l1t1" -qO-
"SBER03.ME","SBERBANK","8/2/2011",102.51,"10:43am" <-- wrong date
"SBER03.ME","SBERBANK","8/11/2011",83.31,"7:23am" <-- correct date
It seems that should be added some checker for returned values.
Re: Investments interfaces

Nikolay
MMEX Developer

Posts: 2305
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
up
http://finance.yahoo.com/quotes/GAZP.ME/view/v1

http_://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
Re: Investments interfaces

Nikolay
MMEX Developer

Posts: 2305
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
Re: Investments interfaces

Nikolay
MMEX Developer

Posts: 2305
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
The csv output for RUB exchange rate:
Code: Select all
http://download.finance.yahoo.com/d/quotes.csv?s=USDRUB=X&f=sl1&e=.csv
may be transformed to XML or JSON:


using this  code for the console:
Code: Select all
select * from csv where url='http://download.finance.yahoo.com/d/quotes.csv?s=USDRUB=X&f=sl1&e=.csv' and columns='symbol,price'
Re: Investments interfaces

Nikolay
MMEX Developer

Posts: 2305
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
Also available this link:
Code: Select all
http://finance.yahoo.com/webservice/v1/symbols/USDRUB=X/quote?format=xml
More info here: http://stackoverflow.com/questions/10040954/alternative-to-google-finance-api
Re: Investments interfaces

Nikolay
MMEX Developer

Posts: 2305
Joined: Sat Dec 06, 2008 8:27 am
Location: Sankt-Petersburg, Russia
History for all currencies for specific date
http://finance.yahoo.com/connection/cur ... e=20160101
Who is online

Users browsing this forum: No registered users and 1 guest

cron