I was using Google finance to get historical stock price but similar to Yahoo it seems to have stopped working earlier this month.
So now I just want to import from a website. I am using the following import function in my google sheet to get the last 3 months of price history for stocks from the nasdaq website. But now I want more data. Their website offers 10 years of data. Can anyone help me alter my function to add a timeframe?
=IMPORTHTML("http://www.nasdaq.com/symbol/"&C5&"/historical","table")
Try mixing your query with import range function as also suggested in this thread.
You can add conditionType or conditionValue with date values in your query.
See Collection: spreadsheets for more information.
Related
I'm trying to get data for a funnel using Query Saved Report api.(Link) And I'm using Apipheny to export Mixpanel data into Google spread sheet. I'd like to see only conversion rate of funnel by month in my Google spread sheet and I hope it'd be arranged in order of month. (Jan to Dec) Which parameter should I do attach in this api url? I'm marketer so I'm not familiar with those programming code so please consider this. [enter image description here](https://i.stack.imgur.com/uViaa.png)
I want to extract only conversion rate(%) of funnel in Mixpanel and show them in order by month in Google spreadsheet.
I am trying to create something similar to what the weather apps have which show a graph of the temperatures from today.
I am currently using the onecall endpoint which returns the current weather along with forecasts for the next 48 hours but this doesn't cover my case of showing earlier data from the day.
Am I miss using this endpoint or is there a way to show the data for the current day (both historical from earlier and forecast for later)? Or do I need to use the historical data endpoints?
Looks like there is no longer data being published to the public NOAA forecast table in bigquery's public dataset. Does anyone know why that is happening? I cannot find any info about the data being discontinued on either website.
project: bigquery-public-data
dataset: noaa_global_forecast_system
table: NOAA_GFS0P25
BigQuery sql that you can use to test this out:
SELECT * FROM `bigquery-public-data.noaa_global_forecast_system.NOAA_GFS0P25` WHERE DATE(creation_time) >= "2022-04-11" LIMIT 100
New forecast data has not been inserted into the table since 4/10/22. They have missed a day before, but we have not seen them miss multiple days in a row before. We would like to know if we need to migrate to a new forecast source, but we cannot find any info on whether this one is being shut down or if they are just having temporary technical difficulties.
Thanks for the heads up! This looks like a temporary technical issue, but we are working on getting this dataset back up and running.
I am trying to import some stock trade transactions into GNUCASH stock account. I used a template I export from GNUCASH. Everything loaded correctly except the price. It seems that the system is calculating the shares incorrectly.
https://i.stack.imgur.com/xfDPB.jpg
https://i.stack.imgur.com/GmvOQ.jpg
https://i.stack.imgur.com/ANyzv.jpg
I had the same issue. It seems to be a bug.
There is a report and workaround here: https://bugs.gnucash.org/show_bug.cgi?id=793306
I'm having some trouble with a Coinbase.com API call for historical data.
Previously, I was getting a variable length of days that would match the amount of space available on a terminal screen with a request URL that looked like this:
https://api.coinbase.com/v2/prices/historic?currency=USD&days=76
This would pull the previous 76 days of price history. An example of the old output is here:
https://gist.github.com/KenDB3/f071a06ab3ef1a899d3cd8df8b40a049#file-coinbase-historic-days-example-2017-12-23-json
This stopped working a few days ago. The closest I can get to this is with this request URL (though I don't get the data I want):
https://api.coinbase.com/v2/prices/BTC-USD/historic?days=76
The output from this can be seen here:
https://gist.github.com/KenDB3/f071a06ab3ef1a899d3cd8df8b40a049#file-coinbase-historic-days-example-2018-07-19-json
In the second example, it is just displaying prices from the day of the query at different times of that day. What I really want is the first example output where it gives a single price per day going back as many days as the request is for.
The project this is connected to is here:
https://github.com/KenDB3/SyncBTC
Links that do not work:
https://api.coinbase.com/v2/prices/historic?currency=BTC-USD&days=76
(No Results)
https://api.coinbase.com/v2/prices/BTC-USD/historic?2018-07-15T00:00:00-04:00
(Does not pull data from 7/15/2018)
Any reason you aren't using coinbase pro?
The new api is very easy to use. Simply add the get command you want followed by the parameters separated with a question mark. Here is the new historic rates api documentation:
https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getproductcandles
The get command with the new api most similar to prices is "candles". It requires three parameters to be identified, start and stop time in iso format and granularity which is in seconds. Here is an example:
https://api.pro.coinbase.com/products/BTC-USD/candles?start=2018-07-10T12:00:00&end=2018-07-15T12:00:00&granularity=900
EDIT: also, note the time zone is not for your time zone, I believe its GMT.
Here is a wrapper for the CoinBase API for the export of Historical Data: https://pypi.org/project/Historic-Crypto/
It should provide the required outcome through invoking:
pip install Historic-Crypto
from Historic_Crypto import HistoricalData
new = HistoricalData('ETH-USD',300,'2020-06-01-00-00').retrieve_data()
for a full list of cryptocurrencies available:
pip install Historic-Crypto
from Historic_Crypto import Cryptocurrencies
data = Cryptocurrencies(extended_output=False).find_crypto_pairs()