Stock-Overflow is a stock recommendation system tailored for the Taiwanese stock market. It leverages various strategies and indicators to identify potentially lucrative stock investment opportunities. The system provides recommendations based on fundamental analysis, technical analysis, and chip analysis. Additionally, it utilizes web scraping to fetch real-time stock market data and sends recommendations to users via the LINE messaging platform.
-
Highly Customizable Filtering Criteria: Tailor screening conditions to match specific investment preferences, allowing users to define criteria that align with their unique strategies.
-
Convenient Daily Push Notifications via LINE: Enjoy the convenience of receiving daily stock recommendations directly through LINE messaging, ensuring users stay informed without the need for manual checks.
- Web Service: Render
- Scheduler: Cron-job
- LINE Chatbot: LINE Developers
-
Modify the
render.yaml
file in your repository. (You can also find the template here.)- Modify the value of
name
,repo
, and maybe some values ofenvVars
.
- Modify the value of
-
Go to Render's blueprint, create a new instance with the target repository and the
render.yaml
file.- The environment variables
CHANNEL_ACCESS_TOKEN
andCHANNEL_SECRET
can be found from LINE Developers. - The environment variable
API_ACCESS_TOKEN
should be designated with a unique value to enhance the security. - The environment variable
TZ
should be configured toAsia/Taipei
.
- The environment variables
-
Upon creating and running the instance, you will receive a service URL for this web service from the dashboard (e.g., https://stock-overflow-api.onrender.com).
-
Append
/callback
to the service URL to construct the webhook URL. Paste this webhook URL into theLINE Webhook URL
section on LINE Developers. -
Configure the scheduler (e.g., Cron-job) to invoke the
/wakeup
API endpoint at designated times daily, ensuring users receive notifications.
Below is an example of what the LINE notification message looks like:
Please note that Stock-Overflow is a stock recommendation system offering investment advice for informational purposes only. We do not assume any responsibility for financial decisions made based on our recommendations. Investing in the stock market involves risks, and users are advised to exercise caution and conduct their own research before making any investment decisions.
Moreover, it's also important to note that the system's default investment strategy is geared towards "short-term trading." Nevertheless, users have the flexibility to adjust filtering criteria based on their individual investment preferences. They can modify the source code's stock screening conditions to better align with their unique strategies. Feel free to explore and adapt the criteria to match your preferences and risk tolerance.
- https://render.com/
- https://cron-job.org/en/
- https://developers.line.biz/en/
- https://ithelp.ithome.com.tw/articles/10283836
- https://github.com/haojiwu/line-bot-python-on-render
- https://bamorlove.com/blog/render
Your contributions or suggestions are not only greatly welcome but also truly appreciated! If you have any idea for enhancements or something amazing brewing in your mind, please don't hesitate to create a pull request. Your feedback is invaluable, and every contribution, no matter how small, has the power to make a significant impact.
Thank you for being a crucial part of this project and for bringing your unique brilliance to the table! Let's create something extraordinary together! 🎉