Skip to content
Merged
Show file tree
Hide file tree
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
29 changes: 29 additions & 0 deletions docs/source/Snapshot.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
.. _snapshot_header:

Snapshot
=================================

=================================
Get all snapshots
=================================
.. automethod:: polygon.RESTClient.get_snapshot_all

=================================
Get gainers/losers snapshot
=================================
.. automethod:: polygon.RESTClient.get_snapshot_direction

=================================
Get ticker snapshot
=================================
.. automethod:: polygon.RESTClient.get_snapshot_ticker

=================================
Get options snapshot
=================================
.. automethod:: polygon.RESTClient.get_snapshot_option

=================================
Get crypto L2 book snapshot
=================================
.. automethod:: polygon.RESTClient.get_snapshot_crypto_book
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This documentation is for the Python client only. For details about the response

Getting-Started
Aggs
Snapshot
Quotes
Reference
Trades
Expand Down
6 changes: 3 additions & 3 deletions polygon/rest/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_market_holidays(

:param params: Any additional query params
:param raw: Return HTTPResponse object instead of results object
:return: List of quotes
:return: List of market holidays
"""
url = "/v1/marketstatus/upcoming"

Expand All @@ -53,7 +53,7 @@ def get_market_status(

:param params: Any additional query params
:param raw: Return HTTPResponse object instead of results object
:return: List of quotes
:return: Market status
"""
url = "/v1/marketstatus/now"

Expand Down Expand Up @@ -393,7 +393,7 @@ def get_exchanges(
:param locale: Filter by locale.
:param params: Any additional query params
:param raw: Return HTTPResponse object instead of results object
:return: List of quotes
:return: List of exchanges
"""
url = "/v3/reference/exchanges"

Expand Down