From 4088d1e4eb1c8ccaf2507c0e5899a2d80a096244 Mon Sep 17 00:00:00 2001 From: zack <43246297+clickingbuttons@users.noreply.github.com> Date: Fri, 29 Apr 2022 11:12:16 -0400 Subject: [PATCH 1/3] add missing automethod docs --- docs/source/Aggs.rst | 25 +++++++++++++++++++++++++ docs/source/Trades.rst | 10 ++++++++++ docs/source/index.rst | 1 + 3 files changed, 36 insertions(+) create mode 100644 docs/source/Aggs.rst diff --git a/docs/source/Aggs.rst b/docs/source/Aggs.rst new file mode 100644 index 00000000..55972959 --- /dev/null +++ b/docs/source/Aggs.rst @@ -0,0 +1,25 @@ +.. _aggs_header: + +Aggs +========== + +=========== +Get aggs +=========== +.. automethod:: polygon.RESTClient.get_aggs + +============================ +Get grouped daily aggs +============================ +.. automethod:: polygon.RESTClient.get_grouped_daily_aggs + +============================ +Get grouped daily aggs +============================ +.. automethod:: polygon.RESTClient.get_daily_open_close_agg + +============================ +Get previous close agg +============================ +.. automethod:: polygon.RESTClient.get_previous_close_agg + diff --git a/docs/source/Trades.rst b/docs/source/Trades.rst index 50e628c4..fc3d9d96 100644 --- a/docs/source/Trades.rst +++ b/docs/source/Trades.rst @@ -7,3 +7,13 @@ Trades List trades =========== .. automethod:: polygon.RESTClient.list_trades + +=========== +Get last trade +=========== +.. automethod:: polygon.RESTClient.get_last_trade + +=========== +Get last trade (crypto) +=========== +.. automethod:: polygon.RESTClient.get_last_trade_crypto diff --git a/docs/source/index.rst b/docs/source/index.rst index 10a3a0cd..36bd6e23 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -8,6 +8,7 @@ This documentation is for the Python client only. For details about the response :caption: Contents: Getting-Started + Aggs Quotes Reference Trades From 2ca80351f2b11ad9657e0886062292b75b71d166 Mon Sep 17 00:00:00 2001 From: zack <43246297+clickingbuttons@users.noreply.github.com> Date: Fri, 29 Apr 2022 11:14:10 -0400 Subject: [PATCH 2/3] fix name --- docs/source/Aggs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/Aggs.rst b/docs/source/Aggs.rst index 55972959..6db60e68 100644 --- a/docs/source/Aggs.rst +++ b/docs/source/Aggs.rst @@ -14,7 +14,7 @@ Get grouped daily aggs .. automethod:: polygon.RESTClient.get_grouped_daily_aggs ============================ -Get grouped daily aggs +Get daily open close agg ============================ .. automethod:: polygon.RESTClient.get_daily_open_close_agg From fe8991f3022ba40705670f6e710b163b5d1cb089 Mon Sep 17 00:00:00 2001 From: zack <43246297+clickingbuttons@users.noreply.github.com> Date: Fri, 29 Apr 2022 11:24:48 -0400 Subject: [PATCH 3/3] formatting --- docs/source/Quotes.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/source/Quotes.rst b/docs/source/Quotes.rst index 4c379455..f5b7b824 100644 --- a/docs/source/Quotes.rst +++ b/docs/source/Quotes.rst @@ -6,7 +6,6 @@ Quotes =========== List quotes =========== - .. automethod:: polygon.RESTClient.list_quotes ==============