Inspiration
Recently, I have handed over some money to a full service brokerage firm to manage. They have come up with a portfolio of stocks to invest in and it looked very good at the beginning. After few months, however, my portfolio started coming down. When I conduct the analysis, i found out that most of the portfolio stocks were purchased when they were around their 52 weeks high. even some of the stocks were all time high. This inspired me to create a tool to identify a right entry for each stocks in the portfolio based on the technical analysis including but not limited to RSI, Fibonacci, Moving averages, support and resistance, etc.
What it does
This tool will pick each stocks and conduct a technical analysis to identify the right entry point. After this analysis, tool will be monitoring the stock price in a constant interval. As the entry price triggered, this tool will be notifying the portfolio owner with an email message.
How we built it
Portfolio Scanner Agent This agent will read the client portfolio from a web interface and make sure have all the right information associated with each stocks in the portfolio. Most relevant information: Stock Symbol, Exchange, Currency, etc.. Currently, the web interface do not have any security mechanism built around. Simply takes the email id as the client identifier. Will be improving the portal security and customer management process in next iterations.
Stock Analyzer Agent This agent will be conducting technical analysis and identify the right entry point for each stocks.
Monitoring Agent This agent will be constantly monitoring each stock prices and the entry point provided by the Stock Analyzer Agent. As the entry point triggered, the stock status get changed. In the future, this agent could be enhanced to trigger an exit point of a stock provided this information available.
Notification Agent This agent will send notification to the portfolio owner about the new status of the stock.
Challenges we ran into
This code was very straight forward and I was able to complete all tasks in a short time frame. The system was not capturing the right price for the stock symbol entered. with proper guidance, this issues was fixed.
Accomplishments that we're proud of
Now, we have a automated analyzer to guide us to buy, hold and sell our portfolio. This could be fine tuned and enhanced for a proper market launch.
What we learned
Combining several technical analysis for a stock purchased is programmatically possible and easy. We still can add more tools to make our analyzer complete.
What's next for TriggerProtfolioEntry
We are planning several enhancements including the following:
- Enhance the portal with the customer management and security
- Update the notification process to work with email gateways, SMS gateways and other possible notification
- Finetune the Stock analyzer logic to identify the entry point with better accuracy
- Could turn this application as an individual portfolio management tool for a consumer
- Integrate this application with trading tools to place trades with proper controls for an enhanced customer experience.
- Deploy this application on Google cloud and test with select customer base.
- Enhance the application as a general purpose scanner to find more opportunities better fit the customer portfolio.