From 286ec02bda43091389ef9cc6569e478b1605f8d1 Mon Sep 17 00:00:00 2001
From: Kwan-Yuet Ho <stephenhky@yahoo.com.hk>
Date: Mon, 8 May 2023 21:18:00 -0400
Subject: [PATCH 1/2] default time-length set to be one year

---
 main.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.py b/main.py
index fc9b1a6..e37377e 100644
--- a/main.py
+++ b/main.py
@@ -225,7 +225,7 @@ def handling_stockinfo_message(message):
     ]
     if len(finddates_ls) == 0:
         enddate = date.today().strftime('%Y-%m-%d')
-        startdate = (date.today() - relativedelta(months=3)).strftime('%Y-%m-%d')
+        startdate = (date.today() - relativedelta(years=1)).strftime('%Y-%m-%d')
     elif len(finddates_ls) == 1:
         enddate = date.today().strftime('%Y-%m-%d')
         startdate = stringlists[finddates_ls[0]]
@@ -319,7 +319,7 @@ def handling_stockcorrelation_message(message):
     ]
     if len(finddates_ls) == 0:
         enddate = date.today().strftime('%Y-%m-%d')
-        startdate = (date.today() - relativedelta(months=3)).strftime('%Y-%m-%d')
+        startdate = (date.today() - relativedelta(years=1)).strftime('%Y-%m-%d')
     elif len(finddates_ls) == 1:
         enddate = date.today().strftime('%Y-%m-%d')
         startdate = stringlists[finddates_ls[0]]

From 922a5080987e3b8598d1e84c8d3c325ae566f7b1 Mon Sep 17 00:00:00 2001
From: Kwan-Yuet Ho <stephenhky@yahoo.com.hk>
Date: Mon, 8 May 2023 21:19:17 -0400
Subject: [PATCH 2/2] updated README.md

---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 4927f5c..dfc202a 100644
--- a/README.md
+++ b/README.md
@@ -3,8 +3,8 @@
 Commands:
 
 - /tips <subtotal> (<state (default: MD)>) (<split>): Calculating the tips. 
-- /stock <symbol> (<startdate> (default: 3 months ago)> (<enddate> (default: today)): Computing statistical information for the given symbol. 
-- /stockg <symbol> (<startdate> (default: 3 months ago)> (<enddate> (default: today)): Computing statistical information for the given symbol, and the chart plotting. 
+- /stock <symbol> (<startdate> (default: 1 year ago)> (<enddate> (default: today)): Computing statistical information for the given symbol. 
+- /stockg <symbol> (<startdate> (default: 1 year ago)> (<enddate> (default: today)): Computing statistical information for the given symbol, and the chart plotting. 
 - /stockcorr <symbol1> <symbol2>: correlation between two symbols
 - /search <text>: find the symbol name from the given text
 - /help: display help message.