Skip to content

Commit 9eafa40

Browse files
Darcy-LindeDarcy Linde
andauthored
Fix docstring (#273)
* fix docstring * add extra comments Co-authored-by: Darcy Linde <{[email protected]}>
1 parent 595d44c commit 9eafa40

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

polygon/rest/trades.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,13 @@ def get_last_crypto_trade(
7777
raw: bool = False,
7878
) -> Union[CryptoTrade, HTTPResponse]:
7979
"""
80-
Get the most recent trade for a ticker.
80+
Get the last trade tick for a cryptocurrency pair.
8181
82-
:param ticker: The ticker symbol of the asset
82+
:param from_: The "from" symbol of the pair.
83+
:param to: The "to" symbol of the pair.
8384
:param params: Any additional query params
8485
:param raw: Return raw object instead of results object
85-
:return: Last trade
86+
:return: Last crypto trade
8687
"""
8788
url = f"/v1/last/crypto/{from_}/{to}"
8889

0 commit comments

Comments
 (0)