Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions 8 polygon/rest/indicators.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def get_sma(
adjusted: Optional[bool] = None,
expand_underlying: Optional[bool] = None,
order: Optional[Union[str, Order]] = None,
limit: Optional[int] = None,
params: Optional[Dict[str, Any]] = None,
series_type: Optional[Union[str, SeriesType]] = None,
raw: bool = False,
Expand All @@ -50,6 +51,7 @@ def get_sma(
:param expand_underlying: Whether to include the aggregates used to calculate this indicator in the response
:param order: 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
:param limit: Limit the number of results returned, default is 10 and max is 5000
:param params: Any additional query params
:param series_type: The price in the aggregate which will be used to calculate the simple moving average
i.e. 'close' will result in using close prices to calculate the simple moving average
Expand Down Expand Up @@ -81,6 +83,7 @@ def get_ema(
adjusted: Optional[bool] = None,
expand_underlying: Optional[bool] = None,
order: Optional[Union[str, Order]] = None,
limit: Optional[int] = None,
params: Optional[Dict[str, Any]] = None,
series_type: Optional[Union[str, SeriesType]] = None,
raw: bool = False,
Expand All @@ -103,6 +106,7 @@ def get_ema(
:param expand_underlying: Whether to include the aggregates used to calculate this indicator in the response
:param order: 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
:param limit: Limit the number of results returned, default is 10 and max is 5000
:param params: Any additional query params
:param series_type: The price in the aggregate which will be used to calculate the simple moving average
i.e. 'close' will result in using close prices to calculate the simple moving average
Expand Down Expand Up @@ -134,6 +138,7 @@ def get_rsi(
adjusted: Optional[bool] = None,
expand_underlying: Optional[bool] = None,
order: Optional[Union[str, Order]] = None,
limit: Optional[int] = None,
params: Optional[Dict[str, Any]] = None,
series_type: Optional[Union[str, SeriesType]] = None,
raw: bool = False,
Expand All @@ -156,6 +161,7 @@ def get_rsi(
:param expand_underlying: Whether to include the aggregates used to calculate this indicator in the response
:param order: 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
:param limit: Limit the number of results returned, default is 10 and max is 5000
:param params: Any additional query params
:param series_type: The price in the aggregate which will be used to calculate the simple moving average
i.e. 'close' will result in using close prices to calculate the simple moving average
Expand Down Expand Up @@ -189,6 +195,7 @@ def get_macd(
adjusted: Optional[bool] = None,
expand_underlying: Optional[bool] = None,
order: Optional[Union[str, Order]] = None,
limit: Optional[int] = None,
params: Optional[Dict[str, Any]] = None,
series_type: Optional[Union[str, SeriesType]] = None,
raw: bool = False,
Expand All @@ -212,6 +219,7 @@ def get_macd(
:param expand_underlying: Whether to include the aggregates used to calculate this indicator in the response
:param order: 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
:param limit: Limit the number of results returned, default is 10 and max is 5000
:param params: Any additional query params
:param series_type: The price in the aggregate which will be used to calculate the simple moving average
i.e. 'close' will result in using close prices to calculate the simple moving average
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.