Platform Our platform is a SaaS platform where lot of traders are going to start using the platform for a. Market Study and Help them in Learning Trade b. Study about the Transactions that they have made c. Interactive Chat to Learn more about analysis or transactions Zerodha Connections Global a. We have a Global Zerodha Connection to do all these tasks, this account is Admin's account. b. Everyday, Admin has to Login and connect to Zerodha to activate Zerodha access token.. Personal a. We have personal Zerodha account that fetches transactions to analyze. b. No Other transactions are made using this account. 1. We have multiple list of stocks - Personal Porfolio , ET list, NIFTY, Early Breakout a. Personal portfolio is user specific they manage their own list mapped to stocks list b. Stocks Collection - We have complete Stocks and its History is maintained for quite some time - Take only top 10 NIFTY 50 based on our analysis c. ET - List taken from ET movers, NIFTY 50 - we have API, Personal Portfolio - database - Take only top 20 gainers, top 20 losers from the list d. Early Breakout/Breakdown - We will finalize this list with History data before the market hours, 1 hour from Market. This has to analyze all 9000 stocks history and finalize.. 2. Backgorund Taks a. We have background tasks that keeps the history of stocks up to date ( 1 day, 1 week, 1month candles) 1. Data storage of max 84 1 day candles / 52 1 week candles, 24 1 month candles 2. Inital storage does it for all stocks 3. Then update only the missing data or new data b. We are running background jobs Intra day lists ( 5 min , 15 min , 30 min candles) 1. Data storage max of 1 day old 2. List as follows - > Portfolio, ET, NIFTY 50, Early Breakout 3. We finalize the list -> Global list ( which runs on 15 min or 5 min or 30 min or 1 hr) 4. Early Breakout - 5 min once - only for 9 to 10 AM then it moves to 15 min once 5. ET - 15 min once, NIFTY - 60 min once, Portfolio - 30 min once 6. For all these things except the list and time, rest of the logic is the same. 3. Analyis goes like this in background once in X minutes a. Crawl the list / take list from database (for personal - > we make global list of aggregation) b. For portfolio list - No shorting except removing duplicates c. For ET - Total of 200 movers, we compute indicators and straegies and finalize top 25 each for gainers and movers d. For NIFTY - Total of 50, we compute indicators and strategies and finalize top 25 e. For Sorting the entire ET / NIFTY list -> Our strategy is intraday Buy or SELL, So top list is combbination of SHORT /LONG.. its not biased 1. We compute all indicators(6) and Strategies (14) for 5 min, 15 min, 30 min, 1 day, 1 W, 1 M f. We call GPT for complete analysis for the filterest top list from our algorithm. Not the entire list. g. We store the snapshop data , computed data, GPT data.. h. Stream - Fronend fetchs latest data using API 4. Chat - We are using Chat on various locations including Stream, Alerts, Learning a. For Analyis Chat - Start the Chat with either recent snapshot (intraday) data 1. We pass computed data (indicators - 6 & staregies - 14) for every 5 minutes into the GPT call 2. Our goal is to get proper input from GPT to make a decision to SHORT / BUY b. For Transactions Chat, Pass the transaction info related to that particular decision to analyze. 1. Our goal is to analyze whether the trade was right or wrong 2. Only thing is during that time, along with Chat we may have to add more data on the decision 4. Paper Trades a. Paper trades automatically created when there is a potential analysis is ready to SHORT / BUY b. Analysis should be greater than >=80 (HIGH & Very Strong) c. We have a balance of Rs 10,00,000 assigned to account for trade d. Once trade is completed, every time when we have next data set,Create / update paper trades based on our complete analysis e. We have Paper trade settings in backend, so we execute that way f. Paper trades are closed by EOD to have a daily Summary. g. Also update the account balance based on Profit or Loss 5. Learning a. We have option to learn more about the real trade transactions (Fetching from Zerodha) 6. Alerts a. Produce alerts of top signlas with VERY_STRONG Interest which is above 85% 7. GPT Usage a. GPT used only on the specific times of analysis based on the times defined b. GPT will used for learning transactions c. No unwanted GPT calls d. Only Backgroudn GPT calls for Analysis e. For Chat, Do Aync to do that particular call with GPT.. f. GPT / Zerodha call shouldn't stop any other process.