How do you automatically pull stock data into Domo?
Has anyone connected to Yahoo Finance or ETrade? I want to pull stock data.
Best Answer
-
In my opinion, the two Quandl connectors will not work anymore. I've recently found http://www.eoddata.com/default.aspx for daily quotes and https://intrinio.com/ for financial data like 10-K filings.
At the end of the day, if you really want robust API's with all the info you need, you're going to have to pay for it.
I do appreciate everyone's help on this!
0
Answers
-
@christophorce - I didn't see any specific connectors that pull Yahoo Finance or Etrade, however if you go into your DataCenter and look for the Quandl Connector you'll see some files that might you what you are looking for -
"NASDAQ-100.zip"
"EndofDayStockPrices.zip"
Take a look and see if those meet your needs!
0 -
Google Sheets using Googlefinance formula works great.
https://support.google.com/docs/answer/3093281
3 -
Worked like a charm! Great tip. Thanks!
@Dani, you should make this a KB article and show step-by-step building financial charts in Domo via Google Sheets. Took 1 min to set up.
1 -
I meant @DaniBoy
0 -
0
-
Hi all - I set up a Google Sheet to pull the stock price for one of our clients and in the Google Sheet the data returned looks great, like this:
Date Close 10/3/2016 16:00:00 17.27 10/4/2016 16:00:00 17.87 10/5/2016 16:00:00 18.04 10/6/2016 16:00:00 17.97 10/7/2016 16:00:00 17.99 10/10/2016 16:00:00 18.25 10/11/2016 16:00:00 17.76 10/12/2016 16:00:00 17.68 10/13/2016 16:00:00 17.62 10/14/2016 16:00:00 17.61 But everytime I try and connect using the Google Sheets connector it does not return any values (and I have double checked it's referencing the right sheet name). I think it has to do with the cell values containing a forumla because when I copy and paste values, then the data comes through the connector just fine.
Is anyone else having an issue with the cells that contain a forumla not coming through the connector?Thanks!
0 -
Formulas in general work great, I just tested it out again to be sure and the values come across clean.
In the Google article mentioned above (https://support.google.com/docs/answer/3093281) it states:
- Historical data cannot be downloaded or accessed via the Sheets API or Apps Script. If you attempt to do so, you will see a #N/A error in place of the values in the corresponding cells of your spreadsheet.
This seems to be specific to the GOOGLEFINANCE function. I tried many other functions and they all work as expected.
Former Domo employee you can find me in the Dojo Community here @n8isjack1 -
Ahh, thanks @n8isjack-ret! I didn't catch that the historical data is known to result in #N/A errors. Bummer, but glad it's not all formulas. Thank you!
1 -
@christophorce,did any of the above replies help you out?
0 -
i tried using the google sheets approach. unfortunately it would only work some of the time. When DOMO would update, most of the cells just said "updating..." I'd have to go into the sheet and basically refresh it, then the import would work. It was too unreliable.
0 -
0
-
@Sweep_The_Leg there is a way, using Yahoo finance, to get stock information into Domo. It is very flexible and can provide a LOT of good information.
NOTE: This is not a basic process. An understanding of web url manipulation will help. You may need to study the Yahoo API documentation as well.
I will do my best to present the steps here. Note that these steps may change over time. They work well today but if the Yahoo API changes there may be differences when you are implementing this process.
RESOURCES:
- Yahoo Finance API: This article explains how to take advantage of the Yahoo Finance API. Including some examples for building a custom url:
- Domo CSV Advanced Connector: This Domo knowledgebase article will explain how to configure the connector:
STEPS to build the connector:
- Create a new "CSV Advanced Connector" (see the article above if you're not sure how).
- The first step in the process of building the CSV Connector it will ask you for login information. You will not actually need a username or credentials for the Yahoo API. Leave these fields blank and continue through the setup.
- When setting up the "Details" pane in the new connector choose:
- Protocol: "HTTP Request"
- URL: This will be where you put the url to pull the stock information. More information below.
- File Type: CSV
- All other settings can be left blank.
- You may setup any other configuration steps however you like.
HOW TO build the URL (for 3.2 above):
- Here is a sample URL you can try. If you want you can keep this url permanently, but I would recommend that you build your own:
- Tickers in the url begin with s= and you separate the tickers with a + sign.
- The example above uses AAPL, GOOG, and MSFT so it will pull stock information for those three stocks.
- The data you want back begins with f= and it is just a list of the options. There is a LOT of information you can get so you'll need to study up on the Yahoo API. The jarloo link I gave above has examples and step by step considerations as well.
- In the example url it is f=nsd1l1m3 and it will produce these columns:
- n = Name
- s = Symbol
- d1 = Last Trade Date
- l1 = Last Trade (Price Only)
- m3 = 50 Day Moving Average
- There are a LOT of other columns you can pull. Get the code for any column you want from the api and build your own url.
- In the example url it is f=nsd1l1m3 and it will produce these columns:
When you're done, save and run the dataset. It will import the data from Yahoo. You can schedule it for whatever timeframe you want it to run.
NOTE: Domo will not know the column names. The Yahoo API does not return those. So each column will be called simply: COLUMN1, COLUMN2, etc... You will have to run the dataset through a Blend or ETL to rename the columns.
Former Domo employee you can find me in the Dojo Community here @n8isjack1 -
Good afternoon,
Well the Yahoo API worked great... until yahoo shut it down on 11/1. I'm back to trying our Quandl connectors, but even those aren't working right. The End of Day Stock quote connector isn't showing any data for 11/8 (yesterday's close) and the Zacks ZIP file was discontinued in Sep 2016 (this was confirmed by my reaching out to Quandl directly).
I'm trying other free API that I can find on the net, but nothing seems to be what I need. All I'd need, bare bones, is an API that collects historical price data, at time of market close, and the associated Symbol.
Anyone else have any suggestions?
1 -
@Sweep_The_Leg thanks for the update!
Any thoughts on this thread given Yahoo's closure of their API?
Thanks!
Dani
0 -
In my opinion, the two Quandl connectors will not work anymore. I've recently found http://www.eoddata.com/default.aspx for daily quotes and https://intrinio.com/ for financial data like 10-K filings.
At the end of the day, if you really want robust API's with all the info you need, you're going to have to pay for it.
I do appreciate everyone's help on this!
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 296 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 614 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 729 Beast Mode
- 53 App Studio
- 40 Variables
- 677 Automate
- 173 Apps
- 451 APIs & Domo Developer
- 45 Workflows
- 8 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 121 Manage
- 118 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive