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.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive