Skip to content

Commit

Permalink
chore: adjust docstring for option chain
Browse files Browse the repository at this point in the history
  • Loading branch information
hiohiohio committed Jan 24, 2024
1 parent e67c9b7 commit f29ced4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion alpaca/data/historical/option.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def get_option_chain(
"""The option chain endpoint for underlying symbol provides the latest trade, latest quote for each contract symbol of the underlying symbol.
Args:
request_params (OptionSnapshotRequest): The request object for retrieving snapshot data.
request_params (OptionChainRequest): The request object for retrieving snapshot data.
Returns:
Union[SnapshotSet, RawData]: The snapshot data either in raw or wrapped form
Expand Down
2 changes: 1 addition & 1 deletion alpaca/data/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ class OptionChainRequest(NonEmptyRequest):
This request class is used to submit a request for option chain data for options.
Attributes:
symbol_or_symbols (Union[str, List[str]]): The option identifier or list of option identifiers.
underlying_symbol (str): The underlying_symbol for option contracts.
"""

underlying_symbol: str
Expand Down

0 comments on commit f29ced4

Please sign in to comment.