Skip to content

Commit 1805b11

Browse files
Darcy-LindeDarcy Linde
andauthored
improve limit description (#286)
Co-authored-by: Darcy Linde <{[email protected]}>
1 parent 2a6fb22 commit 1805b11

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

polygon/rest/quotes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def list_quotes(
3737
:param timestamp_lte: Timestamp less than or equal to
3838
:param timestamp_gt: Timestamp greater than
3939
:param timestamp_gte: Timestamp greater than or equal to
40-
:param limit: Limit the number of results returned, default is 10 and max is 50000.
40+
:param limit: Limit the number of results returned per-page, default is 10 and max is 50000.
4141
:param sort: Sort field used for ordering.
4242
:param order: Order results based on the sort field.
4343
:param params: Any additional query params.

polygon/rest/reference.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def list_tickers(
101101
:param date: Specify a point in time to retrieve tickers available on that date. Defaults to the most recent available date.
102102
:param search: Search for terms within the ticker and/or company name.
103103
:param active: Specify if the tickers returned should be actively traded on the queried date. Default is true.
104-
:param limit: Limit the size of the response, default is 100 and max is 1000.
104+
:param limit: Limit the size of the response per-page, default is 100 and max is 1000.
105105
:param sort: The field to sort the results on. Default is ticker. If the search query parameter is present, sort is ignored and results are ordered by relevance.
106106
:param order: The order to sort the results on. Default is asc (ascending).
107107
:param params: Any additional query params.
@@ -166,7 +166,7 @@ def list_ticker_news(
166166
167167
:param ticker: Return results that contain this ticker.
168168
:param published_utc: Return results published on, before, or after this date.
169-
:param limit: Limit the number of results returned, default is 10 and max is 1000.
169+
:param limit: Limit the number of results returned per-page, default is 10 and max is 1000.
170170
:param sort: Sort field used for ordering.
171171
:param order: Order results based on the sort field.
172172
:param params: Any additional query params.
@@ -243,7 +243,7 @@ def list_splits(
243243
:param execution_date_gt: Execution date greater than.
244244
:param execution_date_gte: Execution date greater than or equal to.
245245
:param reverse_split: Query for reverse stock splits. A split ratio where split_from is greater than split_to represents a reverse split. By default this filter is not used.
246-
:param limit: Limit the number of results returned, default is 10 and max is 1000.
246+
:param limit: Limit the number of results returned per-page, default is 10 and max is 1000.
247247
:param sort: Sort field used for ordering.
248248
:param order: Order results based on the sort field.
249249
:param params: Any additional query params.
@@ -332,7 +332,7 @@ def list_dividends(
332332
:param frequency: Query by the number of times per year the dividend is paid out. Possible values are 0 (one-time), 1 (annually), 2 (bi-annually), 4 (quarterly), and 12 (monthly).
333333
:param cash_amount: Query by the cash amount of the dividend.
334334
:param dividend_type: Query by the type of dividend. Dividends that have been paid and/or are expected to be paid on consistent schedules are denoted as CD. Special Cash dividends that have been paid that are infrequent or unusual, and/or can not be expected to occur in the future are denoted as SC.
335-
:param limit: Limit the number of results returned, default is 10 and max is 1000.
335+
:param limit: Limit the number of results returned per-page, default is 10 and max is 1000.
336336
:param sort: Sort field used for ordering.
337337
:param order: Order results based on the sort field.
338338
:param params: Any additional query params.
@@ -369,7 +369,7 @@ def list_conditions(
369369
:param data_type: Data types that this condition applies to.
370370
:param id: Filter for conditions with a given ID.
371371
:param sip: Filter by SIP. If the condition contains a mapping for that SIP, the condition will be returned.
372-
:param limit: Limit the number of results returned, default is 10 and max is 1000.
372+
:param limit: Limit the number of results returned per-page, default is 10 and max is 1000.
373373
:param sort: Sort field used for ordering.
374374
:param order: Order results based on the sort field.
375375
:param params: Any additional query params.
@@ -476,7 +476,7 @@ def list_options_contracts(
476476
:param as_of: Specify a point in time for contracts as of this date with format YYYY-MM-DD.
477477
:param strike_price: Query by strike price of a contract.
478478
:param expired: Query for expired contracts.
479-
:param limit: Limit the number of results returned, default is 10 and max is 1000.
479+
:param limit: Limit the number of results returned per-page, default is 10 and max is 1000.
480480
:param sort: Sort field used for ordering.
481481
:param order: Order results based on the sort field.
482482
:param params: Any additional query params.

polygon/rest/trades.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def list_trades(
2929
:param timestamp_lte: Timestamp less than or equal to
3030
:param timestamp_gt: Timestamp greater than
3131
:param timestamp_gte: Timestamp greater than or equal to
32-
:param limit: Limits the number of base aggregates queried to create the aggregate results. Max 50000 and Default 5000. Read more about how limit is used to calculate aggregate results in our article on Aggregate Data API Improvements.
32+
:param limit: Limits the number of base aggregates queried per-page to create the aggregate results. Max 50000 and Default 5000. Read more about how limit is used to calculate aggregate results in our article on Aggregate Data API Improvements.
3333
:param sort: Sort the results by timestamp. asc will return results in ascending order (oldest at the top), desc will return results in descending order (newest at the top).The end of the aggregate time window.
3434
:param order: Order results based on the sort field
3535
:param params: Any additional query params

polygon/rest/vX.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def list_stock_financials(
5151
:param period_of_report_date_gte: period_of_report_date greater than or equal to.
5252
:param timeframe: Query by timeframe.
5353
:param include_sources: Whether or not to include the xpath and formula attributes for each financial data point.
54-
:param limit: Limit the number of results returned, default is 1 and max is 100.
54+
:param limit: Limit the number of results returned per-page, default is 1 and max is 100.
5555
:param sort: Sort field used for ordering.
5656
:param order: Order results based on the sort field.
5757
:param params: Any additional query params

0 commit comments

Comments
 (0)