Skip to content

Commit

Permalink
fix: Incorrect documentation for get_option_latest_trade
Browse files Browse the repository at this point in the history
  • Loading branch information
Elijah-AO committed Feb 8, 2025
1 parent 7fa0a94 commit 8d54983
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 8d54983

Please sign in to comment.