From 1f81bd16b846ad35efb1653e7dc40f78515c5c11 Mon Sep 17 00:00:00 2001 From: Ankur Goel Date: Thu, 28 Oct 2021 18:12:57 -0500 Subject: [PATCH 1/2] corrected README.md for limit issue --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c5819e18..8b6d3ee7 100644 --- a/README.md +++ b/README.md @@ -388,7 +388,7 @@ print(api.get_barset(['AAPL', 'GOOG'], 'minute', start=start, end=end).df) ``` -please note that if you are using limit, it is calculated from the end date. and if end date is not specified, "now" is used.
Take that under consideration when using start date with a limit. +please note that if you are using limit, it is calculated from the start date. and if end date is not specified, "now" is used.
Take that under consideration when using end date with a limit. --- From 032c02a1ed71963b7f3b6a2a4c8d6a50a27e7080 Mon Sep 17 00:00:00 2001 From: Ankur Goel Date: Thu, 28 Oct 2021 18:26:28 -0500 Subject: [PATCH 2/2] corrected README.md for limit issue --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b6d3ee7..d2e0f5be 100644 --- a/README.md +++ b/README.md @@ -388,7 +388,8 @@ print(api.get_barset(['AAPL', 'GOOG'], 'minute', start=start, end=end).df) ``` -please note that if you are using limit, it is calculated from the start date. and if end date is not specified, "now" is used.
Take that under consideration when using end date with a limit. +(Deprecated: When using `get_barset()`, please note that if you are using limit, it is calculated from the end date. and if end date is not specified, "now" is used. Take that under consideration when using start date with a limit. )
+For `get_bars()`, when you are using limit, it is calculated from the start date. If the end date is not specified, "now" is used. Take that under consideration when using end date with a limit. ---