This web application analyzes and plans stock allocations using real-time market data, user-defined risk parameters, and technical indicators. By fetching live quotes from the Upstoxs API, it empowers users to calculate optimal allocations (10%, 25%, and 40%) based on their portfolio size and risk tolerance.
The dashboard currently displays the following information for a given list of scripts:
- Script: The stock ticker symbol.
- LTP (Last Traded Price): Real-time price fetched from Upstoxs.
- SL (Stop Loss): Calculated stop-loss price based on a dynamic percentage of the entry price, determined by the user's risk percentage.
- R/R (Risk/Reward Ratio): Calculated ratio based on a potential 10% gain from the LTP.
- % / ₹: User-defined risk percentage and the corresponding risk amount for the entire portfolio.
- Re-Vol%/ M: Relative volume percentage of the current day compared to the average volume over the last month.
- Allocations: Detailed analysis for 10%, 25%, and 40% portfolio allocations, including:
- Allocation possibility within the defined risk ("Yes" or "No").
- Number of shares to acquire.
- Allocation amount as a percentage of the portfolio.
- Potential risk amount in rupees.
- Strong Start: Indicates if the stock's low price for the day has stayed within 1% of its opening price ("Yes" or "No").
- Avg Volume: Average trading volume of the script over the past month.
The following enhancements are planned:
- [ Func ] - Host the application in S3 for scalable and cost-effective deployment.
- [ Func ] - Implement OAuth for secure user authentication.
- [ UI ] - Enhance the UI/UX with a custom theme and improved design.
- [ Func ] - Enable GTT (Good Till Triggered) order placement functionality.
- [ Func ] - Implement automatic refreshing of stock quotes.
- [ Func ] - Develop a mobile application for the dashboard.
- [ Func ] - Implement portfolio tracking functionality.
- [ Func ] - Right now r/r always show 1 : 4 because of 0.25% of static risk, risk is dynamic based on the day low or else static risk sl, recommendation need to be done.
- [ Func ] - Strong start right now not consider the gap-up openings.
- [ Func ] - Need to create a flow's where multiple entries within a zone 3-5% price.
- [ Func ] - Staggered sl flow's.
- [ UI ] - Spinner for fetching live data.
- [ UI ] - Sorting for Rel/vol and other computed fields.
- [ UI ] - Search for script name.
- [ Func ] - Volume run rate.
- [ Func ] - Create notes for scripts.
- On anticipation buy day, could not place orders due to r/r for 0.25% risk - make the risk higher and could have placed the orders
- [ UI ] - Added column preferences.
- [ UI ] - Add custom filters.
- [ UI ] - Add priority sections.
- [ UI ] - Search instruments and add to dashboard
- [ Func ] - Add dynamic stop-loss preference like day opening and risk amount
- [ UI ] - Order detail page
- [ Func ] - Multi Risk based allocation suggestions in order detail page.
- [ Func ] - Guards to protect from account blow.
- [ Func ] - Equity curve dashboard.
- Batting average
- Avg gain
- Avg loss
- [ Func ] - Alerts.
- [ Bug ] - Mismatch in order detail allocation need to consider the maxAllocation in it.
- [ Bug ] - Order details is always static upon the scroll.
- [ Bug ] - Scripts page
- Track not working on first go.
- Inconsistency for some scripts ie: SEQUENT, HPL.
- [ Func ] - Since the zerodha/upstoxs both supports for multiple instrument quote API upto 500, take the daily dump of the instruments
- [ Func ] - Build a monorepo to join react + node + aws
- [ Func ] - Add a todo dashboard with checklist/routines
- [ Func ] - Cache the historical data API call for every live feed
- [ Func ] - Create dashboard for each watchlist
- [ Func ] - Enable the scripts to be added a watchlish
- [ Ref ] - Considered time series in MongoDB
- [ Func ] - Visualize the no.of gapup in the market intraday metrics
- [ Func ] - Add persistant bullish/bearish MB in local storage with date as a property
- [ Func ] - Create snapshot component over tables and graph
- [ Func ] - Try to present the +-4% in MB table.
- [ Func ] - Track the price where the alert came in MB, track no.of.stocks which came in the alert as EOD report
- [ Func ] - Add persistant notification when the stock entered the MBB and at what price and time.
- [ Func ] - Use multiple tabs for ipo/nifty50/niftymidsmall400 and have active ws connection according to that tab
- [ Func ] - Introduce dollar volume breakout scan with BMB - https://stockbee.blogspot.com/2009/08/what-is-dollar-volume-and-why-it-is.html
- [ Func ] - Add live metric volume * currentPrice to see dollar price volume
- [ Func ] - Add a filter to see specific stock in a watchlist table.
- [ Func ] - List down the study point
- What type of gap should we look into small gaps/ big gaps
- Holding periods
- Entry tactics
- How many days the move is holding
- Move started from which leg
- BO volume in large consolidation vs low consolidation
- [ Func ] - Build model portfolio.
- [ Bug ] - Fix the change% when stocks gap down, change% is not considering the negative gap%
- [ Bug ] - Stats api is making race condition
- [ Bug ] - Fix negative closing strength, fix through testcases to it.
- [ Bug ] - Fix inconsistency of 399/398
- [ Func ] - Introduce change column to identify the high tick change stocks.
- [ Func ] - Time series database/mongo for TI30
- [ Func ] - Export ws metrics to open search/ export to localhost for non persistance dashboards