Skip to content

Commit 1f4f121

Browse files
Darcy-Lindeclickingbuttons
authored andcommitted
Snapshot rst (#144)
1 parent 48b421e commit 1f4f121

File tree

3 files changed

+33
-3
lines changed

3 files changed

+33
-3
lines changed

docs/source/Snapshot.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.. _snapshot_header:
2+
3+
Snapshot
4+
=================================
5+
6+
=================================
7+
Get all snapshots
8+
=================================
9+
.. automethod:: polygon.RESTClient.get_snapshot_all
10+
11+
=================================
12+
Get gainers/losers snapshot
13+
=================================
14+
.. automethod:: polygon.RESTClient.get_snapshot_direction
15+
16+
=================================
17+
Get ticker snapshot
18+
=================================
19+
.. automethod:: polygon.RESTClient.get_snapshot_ticker
20+
21+
=================================
22+
Get options snapshot
23+
=================================
24+
.. automethod:: polygon.RESTClient.get_snapshot_option
25+
26+
=================================
27+
Get crypto L2 book snapshot
28+
=================================
29+
.. automethod:: polygon.RESTClient.get_snapshot_crypto_book

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ This documentation is for the Python client only. For details about the response
99

1010
Getting-Started
1111
Aggs
12+
Snapshot
1213
Quotes
1314
Reference
1415
Trades

polygon/rest/reference.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def get_market_holidays(
3333
3434
:param params: Any additional query params
3535
:param raw: Return HTTPResponse object instead of results object
36-
:return: List of quotes
36+
:return: List of market holidays
3737
"""
3838
url = "/v1/marketstatus/upcoming"
3939

@@ -53,7 +53,7 @@ def get_market_status(
5353
5454
:param params: Any additional query params
5555
:param raw: Return HTTPResponse object instead of results object
56-
:return: List of quotes
56+
:return: Market status
5757
"""
5858
url = "/v1/marketstatus/now"
5959

@@ -393,7 +393,7 @@ def get_exchanges(
393393
:param locale: Filter by locale.
394394
:param params: Any additional query params
395395
:param raw: Return HTTPResponse object instead of results object
396-
:return: List of quotes
396+
:return: List of exchanges
397397
"""
398398
url = "/v3/reference/exchanges"
399399

0 commit comments

Comments
 (0)