Skip to content

Commit

Permalink
fix: Incorrect documentation for get_option_latest_trade (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elijah-AO authored Feb 14, 2025
1 parent 1da7043 commit 34a1ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alpaca/data/historical/option.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ def get_option_latest_trade(
"""Retrieves the latest trade for an option symbol or list of option symbols.
Args:
request_params (OptionLatestQuoteRequest): The request object for retrieving the latest quote data.
request_params (OptionLatestTradeRequest): The request object for retrieving the latest trade data.
Returns:
Union[Dict[str, Quote], RawData]: The latest quote in raw or wrapped format
Union[Dict[str, Trade], RawData]: The latest trade in raw or wrapped format
"""
raw_latest_trades = self._get_marketdata(
path=f"/options/trades/latest",
Expand Down

0 comments on commit 34a1ea9

Please sign in to comment.