hydrosquall / tiingo-python Goto Github PK
View Code? Open in Web Editor NEWPython client for interacting with the Tiingo Financial Data API (stock ticker and news data)
Home Page: https://pypi.org/project/tiingo/
License: MIT License
Python client for interacting with the Tiingo Financial Data API (stock ticker and news data)
Home Page: https://pypi.org/project/tiingo/
License: MIT License
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
when i run the news request i get this:
ERROR:root:{"detail":"You do not have permission to access the News API"}
403 Client Error: Forbidden for url: https://api.tiingo.com/tiingo/news?sources=washingtonpost.com&limit=100&sortBy=publishedDate&offset=0&endDate=2017-10-01&tickers=GOOGL&tags=machine+learning&startDate=2017-01-01
None
what permissions do i need to i need to be a paying member?
Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 2 issues were created.
Of these, 0 issues have been closed and 2 issues are still open.
๐ #381 Update pytest to 5.3.2, by pyup-bot
๐ #380 Update coverage to 5.0, by pyup-bot
๐ #380 Update coverage to 5.0, by pyup-bot
It received 1 comments.
Last week, 5 pull requests were created, updated or merged.
Last week, 2 pull requests were updated.
๐ #381 Update pytest to 5.3.2, by pyup-bot
๐ #380 Update coverage to 5.0, by pyup-bot
Last week, 3 pull requests were merged.
๐ #378 Update pyyaml to 5.2, by pyup-bot
๐ #376 Update tox to 3.14.2, by pyup-bot
๐ #374 Update twine to 3.1.1, by pyup-bot
Last week there were 3 commits.
๐ ๏ธ Merge pull request #378 from hydrosquall/pyup-update-pyyaml-5.1.2-to-5.2 Update pyyaml to 5.2 by hydrosquall
๐ ๏ธ Merge pull request #376 from hydrosquall/pyup-update-tox-3.14.1-to-3.14.2 Update tox to 3.14.2 by hydrosquall
๐ ๏ธ Merge pull request #374 from hydrosquall/pyup-update-twine-2.0.0-to-3.1.1 Update twine to 3.1.1 by hydrosquall
Last week there was 1 contributor.
๐ค hydrosquall
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
Rather than forcing users to work directly with JSON objects, I would like to convert these JSON Dicts into Python Objects. These Resources might include
NewsItem
PriceEvent
StockTicker
Each object should have a method that enables the "serialized" version of that object to be the JSON dict that produced it. This could be handled with Peewee and/or Marshmallow.
A separate issue/PR might be filed to write documentation around how to use each of these resources.
Based on the latest Travis CI tests results, it appears that requests
is not compatible with python 3.4. Example
Would it be useful to add an option to receive a pandas series as output?
If pandas were an output option, it would become possible to add a list of symbols, and return them all in a data frame. At present it appears that you can only request prices for one symbol at a time. Would there be a conflict with the json format if you returned multiple symbols (question belies my ignorance of json)?
at line 139 of tiingo/api.py:
'frequency': frequency
at https://api.tiingo.com/docs/tiingo/daily the parameter is specified as 'resampleFreq'
symptom of error is calling TiingoClient with any other frequency than daily returns daily data, the default.
line 139 should be
'resampleFreq': frequency
Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 2 issues were created.
Of these, 0 issues have been closed and 2 issues are still open.
๐ #395 Update pyyaml to 5.3, by pyup-bot
๐ #394 Update coverage to 5.0.2, by pyup-bot
๐ #394 Update coverage to 5.0.2, by pyup-bot
It received 1 comments.
Last week, 3 pull requests were created, updated or merged.
Last week, 2 pull requests were updated.
๐ #395 Update pyyaml to 5.3, by pyup-bot
๐ #394 Update coverage to 5.0.2, by pyup-bot
Last week, 1 pull request was merged.
๐ #389 Update sphinx to 2.3.1, by pyup-bot
Last week there was 1 commit.
๐ ๏ธ Merge pull request #389 from hydrosquall/pyup-update-sphinx-2.3.0-to-2.3.1 Update sphinx to 2.3.1 by hydrosquall
Last week there was 1 contributor.
๐ค hydrosquall
Last week there was 1 stargazer.
โญ jiuguangw
You are the star! ๐
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
The sources parameter does not work. It's named "sources", but the Tiingo API specifies "source".
The onlyWithTickers boolean parameter is in the Tiingo API, but not supported by the client.
As a new developer approach approaching this library, I would like to be able to try things out right away without having to install anything. To enable this, we can let people try out online jupyter notebooks using the mybinder.org
service (see here). Using the code examples from the README.md
would be sufficient as a first pass.
We would want to provide a field that lets the user supply their own API key, since there isn't a public shared account.
Here are 2 projects which use mybinder
to provide this capability, with a link to the PR where that capacity was enabled.
If you are interested in picking this up and would like further guidance/mentorship on how to proceed, please let me know.
This is a practical subset of what I'd eventually like to expand into #1.
I have followed examples and am able to download data for some stocks. But the vast majority return the following error:
"No JSON object could be decoded"
from tiingo import TiingoClient
from pprint import pprint
import pandas as pd
import datetime
import json
today = datetime.datetime.today().strftime('%Y-%m-%d')
yesterday = datetime.datetime.today() - datetime.timedelta(1)
config = {}
config['session'] = True
config['api_key'] = "MY_API_KEY"
client = TiingoClient(config)
all_tickers = client.list_stock_tickers()
valid_tickers = [] # list of dicts
valid_exchanges = ['OTCMKTS','NYSE','NASDAQ','AMEX']
for ticker in all_tickers:
if ticker['exchange'] in valid_exchanges:
valid_tickers.append(ticker)
elligible_tickers = []
for ticker in valid_tickers:
print(ticker['ticker'])
try:
yesterday_df = client.get_dataframe(ticker['ticker'],
frequency='daily',
startDate=yesterday,
endDate=yesterday)
yesterday_adj_close = yesterday_df['adjClose'].values[0]
yesterday_volume = yesterday_df['volume'].values[0]
min_price = 5
min_volume = 400000
if yesterday_adj_close > min_price and yesterday_volume > min_volume:
elligible_tickers.append(ticker)
except Exception as e:
print(e)
# Elligible tickers is a list of ticker dictionaries
dataframe = pd.DataFrame(elligible_tickers)
print(dataframe)
@Kuhno92 reported in #258 that a cryptic error message pops up when metric_name
is omitted from the call to get_dataframe
. We can improve the developer experience by validating the arguments to the function before using up an API key, and provide direction about how to provide the required arguments.
I don't see an immediate need to support multiple metrics for the multi-metric usecase, although I see multiple possible alternatives:
I figure that if someone has a strong opinion / preference for combining these things, they would probably be building their own custom multi-metric dataframe through multiple calls to the single-ticker form of get_dataframe
. However, if I hear from the tiingo community that there is interest otherwise, we can revisit this issue.
Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 3 issues were created.
Of these, 1 issues have been closed and 2 issues are still open.
๐ #363 Update pytest-runner to 5.2, by pyup-bot
๐ #362 Update cryptography to 2.8, by pyup-bot
โค๏ธ #361 Update vcrpy to 2.1.1, by pyup-bot
๐ #361 Update vcrpy to 2.1.1, by pyup-bot
It received 1 comments.
Last week, 4 pull requests were created, updated or merged.
Last week, 2 pull requests were updated.
๐ #363 Update pytest-runner to 5.2, by pyup-bot
๐ #362 Update cryptography to 2.8, by pyup-bot
Last week, 2 pull requests were merged.
๐ #361 Update vcrpy to 2.1.1, by pyup-bot
๐ #354 Update pytest to 5.2.2, by pyup-bot
Last week there were 3 commits.
๐ ๏ธ Merge pull request #354 from hydrosquall/pyup-update-pytest-5.2.1-to-5.2.2 Update pytest to 5.2.2 by hydrosquall
๐ ๏ธ Merge pull request #361 from hydrosquall/pyup-update-vcrpy-2.1.0-to-2.1.1 Update vcrpy to 2.1.1 by hydrosquall
๐ ๏ธ Update vcrpy from 2.1.0 to 2.1.1 by pyup-bot
Last week there were 2 contributors.
๐ค hydrosquall
๐ค pyup-bot
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 2 issues were created.
Of these, 0 issues have been closed and 2 issues are still open.
๐ #370 Update pytest to 5.3.0, by pyup-bot
๐ #369 Update twine to 3.0.0, by pyup-bot
๐ #369 Update twine to 3.0.0, by pyup-bot
It received 1 comments.
Last week, 3 pull requests were created, updated or merged.
Last week, 2 pull requests were updated.
๐ #370 Update pytest to 5.3.0, by pyup-bot
๐ #369 Update twine to 3.0.0, by pyup-bot
Last week, 1 pull request was merged.
๐ #365 Update tox to 3.14.1, by pyup-bot
Last week there was 1 commit.
๐ ๏ธ Merge pull request #365 from hydrosquall/pyup-update-tox-3.14.0-to-3.14.1 Update tox to 3.14.1 by hydrosquall
Last week there was 1 contributor.
๐ค hydrosquall
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
Historical price data cannot be resampled to anything other than 'daily'.
from pandas.io.json import json_normalize
from tiingo import TiingoClient
client = TiingoClient(config)
msft_30m = client.get_ticker_price('MSFT', startDate='2017-12-01', endDate='2017-12-21', frequency='30min')
json_normalize(msft_hist)
adjClose adjHigh adjLow adjOpen adjVolume close date divCash high low open splitFactor volume 84.26 84.8100 83.2200 83.60 29387325 84.26 2017-12-01T00:00:00.000Z 0.0 84.8100 83.2200 83.60 1.0 29387325 81.08 84.4299 80.7000 84.42 37977732 81.08 2017-12-04T00:00:00.000Z 0.0 84.4299 80.7000 84.42 1.0 37977732 81.59 82.6800 80.9801 81.34 25512120 81.59 2017-12-05T00:00:00.000Z 0.0 82.6800 80.9801 81.34 1.0 25512120 82.78 83.1400 81.4300 81.55 24821403 82.78 2017-12-06T00:00:00.000Z 0.0 83.1400 81.4300 81.55 1.0 24821403 82.49 82.8000 82.0000 82.54 20378114 82.49 2017-12-07T00:00:00.000Z 0.0 82.8000 82.0000 82.54 1.0 20378114 84.16 84.5800 83.3300 83.63 23825056 84.16 2017-12-08T00:00:00.000Z 0.0 84.5800 83.3300 83.63 1.0 23825056 85.23 85.3700 84.1200 84.29 19909119 85.23 2017-12-11T00:00:00.000Z 0.0 85.3700 84.1200 84.29 1.0 19909119 85.58 86.0500 85.0800 85.31 23534946 85.58 2017-12-12T00:00:00.000Z 0.0 86.0500 85.0800 85.31 1.0 23534946 85.35 86.0000 85.1700 85.74 21307911 85.35 2017-12-13T00:00:00.000Z 0.0 86.0000 85.1700 85.74 1.0 21307911 84.69 85.8739 84.5300 85.43 19080106 84.69 2017-12-14T00:00:00.000Z 0.0 85.8739 84.5300 85.43 1.0 19080106 86.85 87.0900 84.8800 85.26 52430167 86.85 2017-12-15T00:00:00.000Z 0.0 87.0900 84.8800 85.26 1.0 52430167 86.38 87.4999 86.2300 87.12 21551076 86.38 2017-12-18T00:00:00.000Z 0.0 87.4999 86.2300 87.12 1.0 21551076 85.83 86.3500 85.2700 86.35 23241979 85.83 2017-12-19T00:00:00.000Z 0.0 86.3500 85.2700 86.35 1.0 23241979 85.52 86.3000 84.7100 86.20 23425009 85.52 2017-12-20T00:00:00.000Z 0.0 86.3000 84.7100 86.20 1.0 23425009 85.50 86.1000 85.4000 86.05 17939766 85.50 2017-12-21T00:00:00.000Z 0.0 86.1000 85.4000 86.05 1.0 17939766
Funds endpoint is being removed from the API, so corresponding methods, docs, and tests should be removed.
Used get_dataframe() to retrieve a tickers historical price data.
The function works and produces the expected results, but it also produces a warning:
C:\Users\[...]\lib\site-packages\tiingo\api.py:270: FutureWarning: Sorting because non-concatenation axis is not aligned. A future version
of pandas will change to not sort by default.
To accept the future behavior, pass 'sort=False'.
To retain the current behavior and silence the warning, pass 'sort=True'.
prices = pd.concat([prices, df[stock]], axis=1)
Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 3 issues were created.
Of these, 2 issues have been closed and 1 issues are still open.
๐ #389 Update sphinx to 2.3.1, by pyup-bot
โค๏ธ #388 Update sphinx to 2.3.1, by pyup-bot
โค๏ธ #387 Update coverage to 5.0.1, by pyup-bot
๐ #387 Update coverage to 5.0.1, by pyup-bot
It received 1 comments.
Last week, 3 pull requests were created, updated or merged.
Last week, 1 pull request was updated.
๐ #389 Update sphinx to 2.3.1, by pyup-bot
Last week, 2 pull requests were merged.
๐ #387 Update coverage to 5.0.1, by pyup-bot
๐ #381 Update pytest to 5.3.2, by pyup-bot
Last week there were 3 commits.
๐ ๏ธ Merge pull request #387 from hydrosquall/pyup-update-coverage-4.5.4-to-5.0.1 Update coverage to 5.0.1 by hydrosquall
๐ ๏ธ Update coverage from 4.5.4 to 5.0.1 by pyup-bot
๐ ๏ธ Merge pull request #381 from hydrosquall/pyup-update-pytest-5.3.1-to-5.3.2 Update pytest to 5.3.2 by hydrosquall
Last week there were 2 contributors.
๐ค hydrosquall
๐ค pyup-bot
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 3 issues were created.
Of these, 1 issues have been closed and 2 issues are still open.
๐ #378 Update pyyaml to 5.2, by pyup-bot
๐ #376 Update tox to 3.14.2, by pyup-bot
โค๏ธ #377 Update sphinx to 2.2.2, by pyup-bot
๐ #376 Update tox to 3.14.2, by pyup-bot
It received 1 comments.
Last week, 4 pull requests were created, updated or merged.
Last week, 1 pull request was opened.
๐ #378 Update pyyaml to 5.2, by pyup-bot
Last week, 1 pull request was updated.
๐ #376 Update tox to 3.14.2, by pyup-bot
Last week, 2 pull requests were merged.
๐ #377 Update sphinx to 2.2.2, by pyup-bot
๐ #373 Update pytest to 5.3.1, by pyup-bot
Last week there were 3 commits.
๐ ๏ธ Merge pull request #377 from hydrosquall/pyup-update-sphinx-2.2.1-to-2.2.2 Update sphinx to 2.2.2 by hydrosquall
๐ ๏ธ Update sphinx from 2.2.1 to 2.2.2 by pyup-bot
๐ ๏ธ Merge pull request #373 from hydrosquall/pyup-update-pytest-5.3.0-to-5.3.1 Update pytest to 5.3.1 by hydrosquall
Last week there were 2 contributors.
๐ค hydrosquall
๐ค pyup-bot
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
As time has passed, various changes have been made or requested for the Tiingo API as new endpoints were added or removed which aren't using Python specific details
In an effort to make it easier for people to work with Tiingo and other APIs as fields are added or removed over time, I've been using stoplight.io
to write OpenAPI (formerly known as Swagger) specifications (specs).
OpenAPI specs are YAML file descriptions of how entire APIs work. From an OpenAPI spec, several libraries exist for different languages (Python, Javascript, Typescript, etc), and "client libraries" for consuming those APIs could be automatically generated. A large ecosystem of tooling exists around it.
I'm considering auto-generating half of the Tiingo API client (so all new endpoints and parameters will be automatically up to date), and grafting it onto the special features we've added to tiingo-python
(like the Dataframes and "get supported tickers") integrations.
The first step to this is will be to describe a few of the endpoints over at https://api.tiingo.com/documentation/general/overview. I'll update this issue with subtasks or more concrete guidelines based on interest / how preliminary tests turn out.
Currently, The IEX endpoint supports more URL parameters than it had when this library was first written.
https://api.tiingo.com/documentation/iex
A full solution for this PR would do these two things:
get_ticker_price
in such a way that supports setting a forceFill
optionHere's the Weekly Digest for hydrosquall/tiingo-python:
Last week 2 issues were created.
Of these, 1 issues have been closed and 1 issues are still open.
๐ #392 Pandas future warning around sorting, by ymyke
โค๏ธ #391 Update tox to 3.14.3, by pyup-bot
๐ #391 Update tox to 3.14.3, by pyup-bot
It received 1 comments.
Last week, 1 pull request was created, updated or merged.
Last week, 1 pull request was merged.
๐ #391 Update tox to 3.14.3, by pyup-bot
Last week there were 2 commits.
๐ ๏ธ Merge pull request #391 from hydrosquall/pyup-update-tox-3.14.2-to-3.14.3 Update tox to 3.14.3 by hydrosquall
๐ ๏ธ Update tox from 3.14.2 to 3.14.3 by pyup-bot
Last week there were 2 contributors.
๐ค hydrosquall
๐ค pyup-bot
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
@dcwtx carefully described the process of removing the user's API keys from generated test fixtures in the following comment: #84 (comment)
We should produce 2 scripts, and include them in a tools/
folder under this repository. Feel free to tackle just 1 if you'd like to help with this issue.
30 * 0
)o30 * 0
.In the absence of other names, something like api_key_detector
and api_key_remover
will do.
Lastly, we should mention where to find / how to use these tools in CONTRIBUTING.md
.
Trying out the service. Everything works well except when I try to retrieve a list of stock tickers.
No error returned, just hangs.
tickers =client.list_stock_tickers()
no crash, no error, just hangs.
Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 3 issues were created.
Of these, 2 issues have been closed and 1 issues are still open.
๐ #385 Update vcrpy to 4.0.2, by pyup-bot
โค๏ธ #384 Update sphinx to 2.3.0, by pyup-bot
โค๏ธ #383 Update vcrpy to 3.0.0, by pyup-bot
๐ #383 Update vcrpy to 3.0.0, by pyup-bot
It received 2 comments.
Last week, 2 pull requests were created, updated or merged.
Last week, 1 pull request was updated.
๐ #385 Update vcrpy to 4.0.2, by pyup-bot
Last week, 1 pull request was merged.
๐ #384 Update sphinx to 2.3.0, by pyup-bot
Last week there were 2 commits.
๐ ๏ธ Merge pull request #384 from hydrosquall/pyup-update-sphinx-2.2.2-to-2.3.0 Update sphinx to 2.3.0 by hydrosquall
๐ ๏ธ Update sphinx from 2.2.2 to 2.3.0 by pyup-bot
Last week there were 2 contributors.
๐ค hydrosquall
๐ค pyup-bot
Last week there were 2 stagazers.
โญ jerryzhujian9
โญ bedman3
You all are the stars! ๐
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 3 issues were created.
Of these, 1 issues have been closed and 2 issues are still open.
๐ #374 Update twine to 3.1.1, by pyup-bot
๐ #373 Update pytest to 5.3.1, by pyup-bot
โค๏ธ #372 Update twine to 3.1.0, by pyup-bot
๐ #372 Update twine to 3.1.0, by pyup-bot
It received 2 comments.
Last week, 3 pull requests were created, updated or merged.
Last week, 2 pull requests were updated.
๐ #374 Update twine to 3.1.1, by pyup-bot
๐ #373 Update pytest to 5.3.1, by pyup-bot
Last week, 1 pull request was merged.
๐ #370 Update pytest to 5.3.0, by pyup-bot
Last week there was 1 commit.
๐ ๏ธ Merge pull request #370 from hydrosquall/pyup-update-pytest-5.2.2-to-5.3.0 Update pytest to 5.3.0 by hydrosquall
Last week there was 1 contributor.
๐ค hydrosquall
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
Investigate how feasible this is / whether it makes sense to mix up REST / Realtime functionality. This may or may not be sensible to mix into this REST client.
request
responses so that tests can run without needing to visit the actual API. This will improve the speed of the automated tests, and facilitate offline development even if someone doesn't have an API key.Provide basic usage examples of using the API Client, perhaps in combination with some basic python data analysis tools like pandas or matplotlib. These would go into the docs.
Tiingo supports over 1800 different crypto tickers.
The API Documentation is here: https://api.tiingo.com/docs/crypto/overview
Based on #157, it appears that when API calls return non-200 status codes, that the response may not necessarily be JSON parse-able.
We should find out whether there is a more specific error message coming from the API that can be provided to the user, and print those out accordingly.
See Taylor Barnett's "Guide to Technical Writing" for more tips on making error messages with the 3 H's in mind: humble, helpful, and human.
It's common for API client libraries to link to related projects or the same project in other languages.
We should make it easy for data analysis users to go to the R client if they'd rather use that language for their data analysis.
We've noticed that recent builds in Python 3.4 take a long time, particularly to install pandas. We can speed up the Travis builds by caching the pip
folder (See the end of #125 ). This will involve editing the travis.yml
file.
See https://docs.travis-ci.com/user/caching/ for guidance about how to do this in Python.
Would be nice to have a way to get rid of that if statement. I'm downloading supported_tickers.zip three times to get everything. Not too terrible since it's infrequent.
return [row for row in reader
if row.get('assetType') == assetType]
API limits enforced at the free tier are not handled gracefully (i.e. error / exception thrown).
As expected, once I passed an API limit (not yet a paying customer, though I intend to pay shortly), I received an error because the Tiingo response is not JSON in this case:
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
The offending line:
C:\anaconda3-4.2.0\lib\site-packages\tiingo\api.py in get_ticker_price(self, ticker, startDate, endDate, fmt, frequency)
137 response = self._request('GET', url, params=params)
138 if fmt == "json":
--> 139 return response.json()
140 elif fmt == "object":
141 data = response.json()
This is because the response from the Tiingo API is:
You have run over your 500 symbol look up for this month. Please upgrade at https://api.tiingo.com/pricing to have your limits increased.
... although the HTTP status is still 200 OK
(not great API design). Happy to submit a PR if you feel this should be fixed!
RST is harder to work with and shrinking in usage. If we can confirm that markdown works well for the pieces that depend on it (sphinx docs, Python Package warehouse), the project documentation will be easier to maintain. It will also make adhering to projects like the all-contributors
specification easier.
Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 4 issues were created.
Of these, 2 issues have been closed and 2 issues are still open.
๐ #400 Update pytest to 5.3.3, by pyup-bot
๐ #398 [[Feature]][Proposal] Describe Tiingo API with OpenAPI](#398), by hydrosquall
โค๏ธ #399 Update coverage to 5.0.3, by pyup-bot
โค๏ธ #397 [fix] Address pandas future warning about sorting in pd.DataFrame.concat, by hydrosquall
๐ #397 [fix] Address pandas future warning about sorting in pd.DataFrame.concat, by hydrosquall
It received 1 comments.
Last week, 4 pull requests were created, updated or merged.
Last week, 1 pull request was updated.
๐ #400 Update pytest to 5.3.3, by pyup-bot
Last week, 3 pull requests were merged.
๐ #399 Update coverage to 5.0.3, by pyup-bot
๐ #397 [fix] Address pandas future warning about sorting in pd.DataFrame.concat, by hydrosquall
๐ #394 Update coverage to 5.0.2, by pyup-bot
Last week there were 5 commits.
๐ ๏ธ Merge pull request #399 from hydrosquall/pyup-update-coverage-5.0.2-to-5.0.3 Update coverage to 5.0.3 by hydrosquall
๐ ๏ธ Update coverage from 5.0.2 to 5.0.3 by pyup-bot
๐ ๏ธ Merge pull request #397 from hydrosquall/fix/pandas-future-warning-sorting [fix] Address pandas future warning about sorting in pd.DataFrame.concat by hydrosquall
๐ ๏ธ [fix] Address pandas future warning about sorting in pd.DataFrame.concat by hydrosquall
๐ ๏ธ Merge pull request #394 from hydrosquall/pyup-update-coverage-5.0.1-to-5.0.2 Update coverage to 5.0.2 by hydrosquall
Last week there were 2 contributors.
๐ค hydrosquall
๐ค pyup-bot
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
This is a small change to the documentation that would make a great first PR!
README.md
and the sphinx docs need updatesReadme.md
and the Sphinx docs. I've provided an example below. This is per a request received in the same thread linked to above.Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 3 issues were created.
Of these, 1 issues have been closed and 2 issues are still open.
๐ #340 Add support for tiingo crypto endpoints to TiingoClient, by n1rna
๐ #338 [Enhancement] Get all tickers regardless of assetType, by dtandersen
โค๏ธ #339 Update pytest to 5.2.1, by pyup-bot
๐ #338 [Enhancement] Get all tickers regardless of assetType, by dtandersen
It received 1 comments.
Last week, 2 pull requests were created, updated or merged.
Last week, 1 pull request was updated.
๐ #340 Add support for tiingo crypto endpoints to TiingoClient, by n1rna
Last week, 1 pull request was merged.
๐ #339 Update pytest to 5.2.1, by pyup-bot
Last week there were 2 commits.
๐ ๏ธ Merge pull request #339 from hydrosquall/pyup-update-pytest-5.2.0-to-5.2.1 Update pytest to 5.2.1 by hydrosquall
๐ ๏ธ Update pytest from 5.2.0 to 5.2.1 by pyup-bot
Last week there were 2 contributors.
๐ค hydrosquall
๐ค pyup-bot
Last week there was 1 stargazer.
โญ tingfungn
You are the star! ๐
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 6 issues were created.
Of these, 2 issues have been closed and 4 issues are still open.
๐ #355 Update sphinx to 2.2.1, by pyup-bot
๐ #354 Update pytest to 5.2.2, by pyup-bot
๐ #351 Update cryptography to 2.8, by pyup-bot
๐ #350 Update pandas to 0.25.2, by pyup-bot
โค๏ธ #353 Update tiingo to 0.12.0, by pyup-bot
โค๏ธ #352 [release] Prepare 0.12.0 release, by hydrosquall
๐ #352 [release] Prepare 0.12.0 release, by hydrosquall
It received 1 comments.
Last week, 8 pull requests were created, updated or merged.
Last week, 2 pull requests were opened.
๐ #351 Update cryptography to 2.8, by pyup-bot
๐ #350 Update pandas to 0.25.2, by pyup-bot
Last week, 2 pull requests were updated.
๐ #355 Update sphinx to 2.2.1, by pyup-bot
๐ #354 Update pytest to 5.2.2, by pyup-bot
Last week, 4 pull requests were merged.
๐ #353 Update tiingo to 0.12.0, by pyup-bot
๐ #352 [release] Prepare 0.12.0 release, by hydrosquall
๐ #346 Add support for multi tickers in list_tickers function, by n1rna
๐ #344 Update pip to 19.3.1, by pyup-bot
Last week there were 11 commits.
๐ ๏ธ Merge pull request #353 from hydrosquall/pyup-update-tiingo-0.11.0-to-0.12.0 Update tiingo to 0.12.0 by hydrosquall
๐ ๏ธ Update tiingo from 0.11.0 to 0.12.0 by pyup-bot
๐ ๏ธ Update tiingo from 0.11.0 to 0.12.0 by pyup-bot
๐ ๏ธ [docs] Fix underline for proper RST rendering by hydrosquall
๐ ๏ธ Merge pull request #352 from hydrosquall/release/0.12.0 [release] Prepare 0.12.0 release by hydrosquall
๐ ๏ธ [tests] Update test to get fixture response for non stock ticker types by hydrosquall
๐ ๏ธ [typo] Fix syntax errors in list_tickers test by hydrosquall
๐ ๏ธ [docs] Update changelog and version for 0.12.0 release by hydrosquall
๐ ๏ธ Merge pull request #344 from hydrosquall/pyup-update-pip-19.3-to-19.3.1 Update pip to 19.3.1 by hydrosquall
๐ ๏ธ Merge pull request #346 from n1rna/improve-list-tickers Add support for multi tickers in list_tickers function by hydrosquall
๐ ๏ธ Change name of variable to by n1rna
Last week there were 3 contributors.
๐ค hydrosquall
๐ค pyup-bot
๐ค n1rna
Last week there were 3 stagazers.
โญ n1rna
โญ BTruer
โญ nonnib
You all are the stars! ๐
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
As a user of the tiingo library, I would like to validate requested sampling frequencies so that users get immediate feedback when they used invalid frequencies. (This would have prevented #52).
To close this PR, I would like to see
get_ticker_price
. Perhaps use the Enum
class in Python to help with this. Since this library supports Python2 and Python3, we may need the https://pypi.python.org/pypi/enum34 to ensure backwards compatibilityREADME.md
At support for the /news
api endpoint- there's a stub in the tiingo.py
file that just needs to be filled out.
There is an assert statement in the API client code that presently tests for the existence of an API key. It's on line 63
However, assert statements are not good for production code because they can be overridden by runtime environment variables, i.e. PYTHONOPTIMIZE
. To fix this:
if variable
. If the test returns false, then a standard Python exception should be raised with a descriptive error message.Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 3 issues were created.
Of these, 1 issues have been closed and 2 issues are still open.
๐ #359 Update pandas to 0.25.3, by pyup-bot
๐ #357 Update pytest-runner to 5.2, by pyup-bot
โค๏ธ #358 Update flake8 to 3.7.9, by pyup-bot
๐ #357 Update pytest-runner to 5.2, by pyup-bot
It received 1 comments.
Last week, 4 pull requests were created, updated or merged.
Last week, 1 pull request was opened.
๐ #359 Update pandas to 0.25.3, by pyup-bot
Last week, 1 pull request was updated.
๐ #357 Update pytest-runner to 5.2, by pyup-bot
Last week, 2 pull requests were merged.
๐ #358 Update flake8 to 3.7.9, by pyup-bot
๐ #355 Update sphinx to 2.2.1, by pyup-bot
Last week there were 3 commits.
๐ ๏ธ Merge pull request #355 from hydrosquall/pyup-update-sphinx-2.2.0-to-2.2.1 Update sphinx to 2.2.1 by hydrosquall
๐ ๏ธ Merge pull request #358 from hydrosquall/pyup-update-flake8-3.7.8-to-3.7.9 Update flake8 to 3.7.9 by hydrosquall
๐ ๏ธ Update flake8 from 3.7.8 to 3.7.9 by pyup-bot
Last week there were 2 contributors.
๐ค hydrosquall
๐ค pyup-bot
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 7 issues were created.
Of these, 3 issues have been closed and 4 issues are still open.
๐ #347 Update pandas to 0.25.2, by pyup-bot
๐ #346 Add support for multi tickers in list_tickers function, by n1rna
๐ #344 Update pip to 19.3.1, by pyup-bot
๐ #343 Update cryptography to 2.8, by pyup-bot
โค๏ธ #348 [tests] Address typos in vcrpy cassette imports, by hydrosquall
โค๏ธ #345 Add support for multi tickers in list_tickers function, by ecatmedia
โค๏ธ #342 Update pip to 19.3, by pyup-bot
๐ #342 Update pip to 19.3, by pyup-bot
It received 1 comments.
Last week, 7 pull requests were created, updated or merged.
Last week, 3 pull requests were opened.
๐ #347 Update pandas to 0.25.2, by pyup-bot
๐ #344 Update pip to 19.3.1, by pyup-bot
๐ #343 Update cryptography to 2.8, by pyup-bot
Last week, 1 pull request was updated.
๐ #346 Add support for multi tickers in list_tickers function, by n1rna
Last week, 3 pull requests were merged.
๐ #348 [tests] Address typos in vcrpy cassette imports, by hydrosquall
๐ #342 Update pip to 19.3, by pyup-bot
๐ #340 Add support for tiingo crypto endpoints to TiingoClient, by n1rna
Last week there were 13 commits.
๐ ๏ธ Merge pull request #348 from hydrosquall/bug/fix-typos-in-test-cases [tests] Address typos in vcrpy cassette imports by hydrosquall
๐ ๏ธ Update price history test assertions by hydrosquall
๐ ๏ธ [tests] Address typos in cassette test imports by hydrosquall
๐ ๏ธ Merge pull request #340 from n1rna/crypto-support Add support for tiingo crypto endpoints to TiingoClient by hydrosquall
๐ ๏ธ Add name to AUTHORS.rst by n1rna
๐ ๏ธ Remove endDate
argument from crypto top of book endpoint by n1rna
๐ ๏ธ Fix status code and some typos in crypto fixtures by n1rna
๐ ๏ธ Merge pull request #342 from hydrosquall/pyup-update-pip-19.2.3-to-19.3 Update pip to 19.3 by hydrosquall
๐ ๏ธ Update pip from 19.2.3 to 19.3 by pyup-bot
๐ ๏ธ Fix some minor issues and typos by n1rna
๐ ๏ธ Use vcr cassette fixtures in crypto tests by n1rna
๐ ๏ธ Add cassette fixtures for crypto endpoints by n1rna
๐ ๏ธ Add vs code internal paths to .gitignore by n1rna
Last week there were 3 contributors.
๐ค hydrosquall
๐ค n1rna
๐ค pyup-bot
Last week there was 1 stargazer.
โญ hauselin
You are the star! ๐
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
Hi there!
Tiingo offers ability to get historical intraday data from IEX.
Please refer to: https://api.tiingo.com/docs/iex/realtime#historicalPriceData
Here is a request url example for historical 5-min data:
https://api.tiingo.com/iex/aapl/prices?startDate=2018-5-22&resampleFreq=5min
Availble frequencies are in minutes and hours.
Please add this functionality to tiingo-python
Thank you!
Dias
In the meantime, users have 2 alternatives
Here's the Weekly Digest for hydrosquall/tiingo-python:
Last week 3 issues were created.
Of these, 1 issues have been closed and 2 issues are still open.
๐ #367 Update pytest to 5.2.4, by pyup-bot
๐ #365 Update tox to 3.14.1, by pyup-bot
โค๏ธ #366 Update pytest to 5.2.3, by pyup-bot
๐ #366 Update pytest to 5.2.3, by pyup-bot
It received 2 comments.
Last week, 4 pull requests were created, updated or merged.
Last week, 2 pull requests were updated.
๐ #367 Update pytest to 5.2.4, by pyup-bot
๐ #365 Update tox to 3.14.1, by pyup-bot
Last week, 2 pull requests were merged.
๐ #363 Update pytest-runner to 5.2, by pyup-bot
๐ #362 Update cryptography to 2.8, by pyup-bot
Last week there were 2 commits.
๐ ๏ธ Merge pull request #363 from hydrosquall/pyup-update-pytest-runner-5.1-to-5.2 Update pytest-runner to 5.2 by hydrosquall
๐ ๏ธ Merge pull request #362 from hydrosquall/pyup-update-cryptography-2.7-to-2.8 Update cryptography to 2.8 by hydrosquall
Last week there was 1 contributor.
๐ค hydrosquall
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please ๐ Watch and โญ Star the repository hydrosquall/tiingo-python to receive next weekly updates. ๐
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
Hi guys! I am not sure if Tiingo API supports this functionality but a feature that I would consider invaluable would be the ability to add stocks to my Tiingo portfolio via passing tickers to the API. Thus my program could pick candidate stocks and add them to a daily watch list to track performance of various strategies.
Using the zip file attached to the API docs, signal to the user on the client-side whether the tickers they've provided are valid or not.
We should release a new minor version to include the changes from
release.md
so that this step is recorded for the futureSteps involved include:
release/0.8.0
__version__.py
to 0.8.0
master
After the PR is complete, the merged commit should be tagged with 0.8.0
. This is how Travis will know to push a new version to PyPI.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.