@@ -155,7 +155,9 @@ def get_markets_iex(*args, **kwargs):
155
155
156
156
Reference: https://www.iextrading.com/developer/docs/#markets
157
157
158
- :return: DataFrame
158
+ Returns
159
+ -------
160
+ DataFrame
159
161
"""
160
162
from pandas_datareader .iex .market import MarketReader
161
163
@@ -167,10 +169,12 @@ def get_dailysummary_iex(*args, **kwargs):
167
169
Returns a summary of daily market volume statistics. Without parameters,
168
170
this will return the most recent trading session by default.
169
171
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.
174
178
175
179
Reference: https://www.iextrading.com/developer/docs/#historical-daily
176
180
@@ -188,12 +192,14 @@ def get_summary_iex(*args, **kwargs):
188
192
In the absence of parameters, this will return month-to-date statistics.
189
193
For ranges spanning multiple months, this will return one row per month.
190
194
191
- :param start:
195
+ start : string, int, date, datetime, Timestamp
192
196
A datetime object - the beginning of the date range.
193
- :param end:
197
+ end : string, int, date, datetime, Timestamp
194
198
A datetime object - the end of the date range.
195
199
196
- :return: DataFrame
200
+ Returns
201
+ -------
202
+ DataFrame
197
203
"""
198
204
from pandas_datareader .iex .stats import MonthlySummaryReader
199
205
@@ -223,7 +229,9 @@ def get_recent_iex(*args, **kwargs):
223
229
224
230
Reference: https://www.iextrading.com/developer/docs/#recent
225
231
226
- :return: DataFrame
232
+ Returns
233
+ -------
234
+ DataFrame
227
235
"""
228
236
from pandas_datareader .iex .stats import RecentReader
229
237
@@ -249,19 +257,25 @@ def get_iex_book(*args, **kwargs):
249
257
Returns an array of dictionaries with depth of book data from IEX for up to
250
258
10 securities at a time. Returns a dictionary of the bid and ask books.
251
259
252
- :param symbols:
260
+ Parameters
261
+ ----------
262
+ symbols : str, List[str]
253
263
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
265
279
"""
266
280
return IEXDeep (* args , ** kwargs ).read ()
267
281
@@ -290,9 +304,9 @@ def DataReader(
290
304
accept a list of names.
291
305
data_source: {str, None}
292
306
the data source ("iex", "fred", "ff")
293
- start : { datetime, None}
307
+ start : string, int, date, datetime, Timestamp
294
308
left boundary for range (defaults to 1/1/2010)
295
- end : { datetime, None}
309
+ end : string, int, date, datetime, Timestamp
296
310
right boundary for range (defaults to today)
297
311
retry_count : {int, 3}
298
312
Number of times to retry query request.
0 commit comments