Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/patch-1' into patch-1
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.rst
  • Loading branch information
Koen werklaptop committed Nov 3, 2024
2 parents 27e634d + f3b9e34 commit 67c5d4e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ You can specify any of the end of day frequencies (daily, weekly, monthly, and a
methods. Weekly frequencies resample to the end of day on Friday, monthly frequencies resample to the last day of the month, and annually frequencies resample to the end of
day on 12-31 of each year. The intraday frequencies are specified using an integer followed by "Min" or "Hour", for example "30Min" or "1Hour".

It's also possible to specify which columns you're interested in, for example: "open", "close", "low", "high" and "volume" (see https://www.tiingo.com/documentation/end-of-day for future columns).
It's also possible to specify which columns you're interested in, for example: "open", "close", "low", "high" and "volume" (see `End of Day response docs <https://www.tiingo.com/documentation/end-of-day>`_ for future columns).


Cryptocurrency
-----------------
Expand Down
8 changes: 7 additions & 1 deletion tiingo/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,13 @@ def _request_pandas(self, ticker, metric_name, params):
return prices

def get_ticker_price(
self, ticker, startDate=None, endDate=None, columns=None, fmt="json", frequency="daily"
self,
ticker,
startDate=None,
endDate=None,
columns=None,
fmt="json",
frequency="daily",
):
"""By default, return latest EOD Composite Price for a stock ticker.
On average, each feed contains 3 data sources.
Expand Down

0 comments on commit 67c5d4e

Please sign in to comment.