Data Source Type: | REST/URL |
Sample Query | This example query uses Yahoo Finance quote properties for NASDAQ:
|
API Documentation | |
Important! | Yahoo Finance API does not support all the stock symbols. |
Klip Gallery | Save time and add pre-built Klips with the Klip Gallery! See Klip Gallery: Yahoo Finance. |
To create a data source using Yahoo Finance, go to the Connector Gallery page in Klipfolio and select Yahoo Finance.
To build a Yahoo Finance query, you will need to include quote properties in your query. If you are interested in historical data, you will also need to enter correct date formatting as instructed by Yahoo Finance. Use the following Yahoo Finance API links for reference:
Refer to the links above to learn more about writing a query. Here are a few example queries to help you get started:
Example 1: for Yahoo Finance - NASDAQ
This example query uses Yahoo Finance quote properties:
http://download.finance.yahoo.com/d/quotes.csv?s=^IXIC&f=nsl1opc1p2&e=.csv
Example 2: for Yahoo Finance - Yahoo, Google and Apple
This example query uses multiple stock symbols
http://download.finance.yahoo.com/d/quotes.csv?s=YHOO,GOOG,AAPL&f=sl1d1t1c1ohgv&e=.csv&columns='symbol,price,date,time,change,col1,high,low,col2
Remember! Yahoo Finance API does not support all the stock symbols.
Example 3: for Yahoo Finance - 30 Day Stock History
This example query uses Yahoo Finance date formatting:
http://ichart.yahoo.com/table.csv?s=GE&a={date.addMonths(-2).format('MM')}&b={date.today.format('dd')}&c={date.today.format('yyyy')}&d={date.addMonths(-1).format('MM')}&e={date.today.format('dd')}&f={date.today.format('yyyy')}&g=d&ignore=.csv
联系客服