@@ -155,7 +155,9 @@ def get_markets_iex(*args, **kwargs):
155155
156156 Reference: https://www.iextrading.com/developer/docs/#markets
157157
158- :return: DataFrame
158+ Returns
159+ -------
160+ DataFrame
159161 """
160162 from pandas_datareader .iex .market import MarketReader
161163
@@ -167,10 +169,12 @@ def get_dailysummary_iex(*args, **kwargs):
167169 Returns a summary of daily market volume statistics. Without parameters,
168170 this will return the most recent trading session by default.
169171
170- :param start:
171- A datetime object - the beginning of the date range.
172- :param end:
173- A datetime object - the end of the date range.
172+ Parameters
173+ ----------
174+ start : string, int, date, datetime, Timestamp
175+ The beginning of the date range.
176+ end : string, int, date, datetime, Timestamp
177+ The end of the date range.
174178
175179 Reference: https://www.iextrading.com/developer/docs/#historical-daily
176180
@@ -188,12 +192,14 @@ def get_summary_iex(*args, **kwargs):
188192 In the absence of parameters, this will return month-to-date statistics.
189193 For ranges spanning multiple months, this will return one row per month.
190194
191- :param start:
195+ start : string, int, date, datetime, Timestamp
192196 A datetime object - the beginning of the date range.
193- :param end:
197+ end : string, int, date, datetime, Timestamp
194198 A datetime object - the end of the date range.
195199
196- :return: DataFrame
200+ Returns
201+ -------
202+ DataFrame
197203 """
198204 from pandas_datareader .iex .stats import MonthlySummaryReader
199205
@@ -223,7 +229,9 @@ def get_recent_iex(*args, **kwargs):
223229
224230 Reference: https://www.iextrading.com/developer/docs/#recent
225231
226- :return: DataFrame
232+ Returns
233+ -------
234+ DataFrame
227235 """
228236 from pandas_datareader .iex .stats import RecentReader
229237
@@ -249,19 +257,25 @@ def get_iex_book(*args, **kwargs):
249257 Returns an array of dictionaries with depth of book data from IEX for up to
250258 10 securities at a time. Returns a dictionary of the bid and ask books.
251259
252- :param symbols:
260+ Parameters
261+ ----------
262+ symbols : str, List[str]
253263 A string or list of strings of valid tickers
254- :param service:
255- 'book': Live depth of book data
256- 'op-halt-status': Checks to see if the exchange has instituted a halt
257- 'security-event': Denotes individual security related event
258- 'ssr-status': Short Sale Price Test restrictions, per reg 201 of SHO
259- 'system-event': Relays current feed status (i.e. market open)
260- 'trades': Retrieves recent executions, trade size/price and flags
261- 'trade-breaks': Lists execution breaks for the current trading session
262- 'trading-status': Returns status and cause codes for securities
263-
264- :return: Object
264+ service : str
265+ One of:
266+
267+ - 'book': Live depth of book data
268+ - 'op-halt-status': Checks to see if the exchange has instituted a halt
269+ - 'security-event': Denotes individual security related event
270+ - 'ssr-status': Short Sale Price Test restrictions, per reg 201 of SHO
271+ - 'system-event': Relays current feed status (i.e. market open)
272+ - 'trades': Retrieves recent executions, trade size/price and flags
273+ - 'trade-breaks': Lists execution breaks for the current trading session
274+ - 'trading-status': Returns status and cause codes for securities
275+
276+ Returns
277+ -------
278+ DataFrame
265279 """
266280 return IEXDeep (* args , ** kwargs ).read ()
267281
@@ -290,9 +304,9 @@ def DataReader(
290304 accept a list of names.
291305 data_source: {str, None}
292306 the data source ("iex", "fred", "ff")
293- start : { datetime, None}
307+ start : string, int, date, datetime, Timestamp
294308 left boundary for range (defaults to 1/1/2010)
295- end : { datetime, None}
309+ end : string, int, date, datetime, Timestamp
296310 right boundary for range (defaults to today)
297311 retry_count : {int, 3}
298312 Number of times to retry query request.
0 commit comments