Merge remote-tracking branch 'origin/patch-1' into patch-1

# Conflicts:
#	README.rst
This commit is contained in:
Koen werklaptop
2024-11-03 20:03:34 +01:00
2 changed files with 9 additions and 2 deletions

View File

@@ -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
-----------------

View File

@@ -219,7 +219,13 @@ class TiingoClient(RestClient):
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.