WealthLens

byArch

Scope Summary for Estimation Project: Portfolio Tracking & AI Assistant Platform (MVP – Web Application) πŸ”Ή 1. Project Objective Build a web-based MVP application that allows users to: Track their stock portfolio using near real-time market data View portfolio performance (value, P&L, basic charts) Perform limited stock comparison Interact with a basic AI assistant for financial Q&A The goal is to launch a functional, scalable MVP quickly, with advanced analytics and monetization planned for later phases. πŸ”Ή 2. MVP Scope (In-Scope Features) πŸ‘€ User Module User registration & login (email-based) Forgot/reset password Basic authentication & session management πŸ“Š Portfolio Management Create and manage single portfolio per user Add/edit/remove stocks: Stock search (API-based) Quantity & purchase price input Portfolio summary: Total value Profit & Loss (β‚Ή + %) Basic portfolio performance chart (historical trend) πŸ“ˆ Market Data Integration Integration with one market data API (e.g., Financial Modeling Prep) Fetch: Stock prices Basic company info Data refresh every 30–60 seconds (near real-time) πŸ“‰ Stock Details View individual stock details: Current price % change Basic metrics (e.g., P/E, market cap) Simple chart (price trend) βš–οΈ Stock Comparison (Basic) Compare up to 2–3 stocks Show: Price % change Basic ratios (e.g., P/E) ⚠️ Risk Indicator (Simplified) Basic rule-based risk level: Low / Medium / High Based on simple logic (e.g., diversification, volatility) Static explanation text (no advanced calculations) πŸ€– AI Assistant (Basic) Integration with AI (Claude or similar) Chat-based interface Supports: General financial questions Explanation of terms (P/E, earnings, etc.) ❗ No portfolio-aware or data-driven AI in MVP πŸ–₯️ Dashboard UI (Web) Clean, modern dashboard with: Portfolio summary Stock list Charts Responsive design (mobile-friendly) No advanced UI/animations βš™οΈ Backend & System API-driven backend (monolithic architecture) Basic database setup (user + portfolio + stock data) Scheduled job for: Market data updates Portfolio recalculation πŸ” Security (Basic) Secure authentication Encrypted password storage Secure API handling (basic best practices) πŸ”Ή 3. Out of Scope (Add-Ons / Separate Estimation) The following are explicitly excluded from MVP and should be estimated separately: Monte Carlo simulations & forecasting models Machine learning / prediction models Portfolio-aware AI (RAG, insights, recommendations) Subscription system & payment gateway Advanced admin panel & analytics Multiple portfolios per user Advanced stock comparison (5 stocks, deep metrics) Notification & alert system Microservices architecture / high-scale infra Multi-API integrations / real-time streaming data Advanced UI/UX (interactive charts, premium dashboards) Marketing website (About, Contact, etc.) Multi-asset support (crypto, forex, commodities) Mobile applications (iOS/Android) Advanced security (VAPT, MFA, audit logs) πŸ”Ή 4. Suggested Tech Approach (Open for Vendor Input) Backend: Node.js / .NET (monolithic preferred for MVP) Frontend: React / Angular Database: PostgreSQL / SQL Server Hosting: AWS / Azure (basic setup) πŸ‘‰ Vendor may propose alternatives optimized for speed & cost. πŸ”Ή 5. Expected Deliverables Fully functional web-based MVP Source code & deployment setup API integrations Basic UI/UX implementation Documentation (basic) πŸ”Ή 6. Estimation Request Please provide: Effort estimation (in days/weeks) Cost estimation (module-wise if possible) Team structure Timeline Any assumptions or dependencies πŸ”Ή 7. Key Notes MVP should prioritize speed, simplicity, and usability Avoid over-engineering (no microservices / heavy infra) System should be scalable in future, but not overbuilt initially Financial formulas for advanced analytics are not part of MVP

LandingDashboardLoginSignupAI AssistantCompare
Landing

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document
Page 1 of 9

System Requirements Document (SRD)

Project Name: Lemon-Portfolio

1. Introduction

The Lemon-Portfolio project is a web-based Minimum Viable Product (MVP) application designed to empower users in the US to track their stock portfolios, view performance metrics, and interact with a basic AI assistant for financial Q&A. The platform prioritizes simplicity, usability, and speed to market, with advanced features planned for future iterations.

This document outlines the system requirements for the Lemon-Portfolio MVP, including functional and non-functional requirements, user personas, design concepts, and technical specifications.

Page 2 of 9

2. System Overview

The Lemon-Portfolio MVP will provide users with the ability to:

  • Track their stock portfolio using near real-time market data.
  • View portfolio performance, including total value, profit and loss (P&L), and basic charts.
  • Perform limited stock comparisons.
  • Interact with a basic AI assistant for financial Q&A.

The system will feature a clean, responsive dashboard UI, API-driven backend, and secure authentication mechanisms. It will integrate with a single market data API (e.g., Financial Modeling Prep) to fetch stock prices and basic company information.

The MVP will focus on delivering a functional, scalable platform while avoiding over-engineering or unnecessary complexity.

3. Functional Requirements

User Module

  • As a User, I should be able to register and log in using my email.
  • As a User, I should be able to reset my password if I forget it.
  • As a User, I should have my session managed securely after logging in.
Page 3 of 9

Portfolio Management

  • As a User, I should be able to create and manage a single portfolio.
  • As a User, I should be able to add, edit, and remove stocks in my portfolio.
  • As a User, I should be able to search for stocks using an API.
  • As a User, I should be able to input the quantity and purchase price of stocks.
  • As a User, I should be able to view a summary of my portfolio, including:
    • Total value.
    • Profit and loss (β‚Ή and %).
    • A basic performance chart showing historical trends.

Market Data Integration

  • As a User, I should be able to view near real-time stock prices and basic company information.
  • As a User, I should see data refreshed every 30–60 seconds.

Stock Details

  • As a User, I should be able to view individual stock details, including:
    • Current price.
    • Percentage change.
    • Basic metrics (e.g., P/E ratio, market cap).
    • A simple price trend chart.

Stock Comparison

  • As a User, I should be able to compare up to 2–3 stocks based on:
    • Price.
    • Percentage change.
    • Basic ratios (e.g., P/E ratio).
Page 4 of 9

Risk Indicator

  • As a User, I should be able to view a basic risk level (Low/Medium/High) based on simple diversification and volatility logic.

AI Assistant

  • As a User, I should be able to interact with a chat-based AI assistant for:
    • General financial questions.
    • Explanations of financial terms (e.g., P/E ratio, earnings).

Dashboard UI

  • As a User, I should see a clean, modern dashboard with:
    • A portfolio summary.
    • A stock list.
    • Charts.
  • As a User, I should be able to access the platform on both desktop and mobile devices.

4. User Personas

1. Registered User

  • Description: A user who has registered on the platform to track their stock portfolio.
  • Goals:
    • Track portfolio performance.
    • Compare stocks.
    • Get financial insights through the AI assistant.
  • Pain Points:
    • Lack of real-time data.
    • Difficulty understanding financial metrics.
Page 5 of 9

5. Visuals Colors and Theme

Color Palette

The Lemon-Portfolio platform will feature a vibrant and professional color scheme inspired by the freshness of lemons and the seriousness of financial tools.

  • Background: #F7F9FC (Soft Sky Blue)
  • Surface: #FFFFFF (Pure White)
  • Text: #2C3E50 (Deep Navy Blue)
  • Accent: #F4D03F (Lemon Yellow)
  • Muted Tones: #BDC3C7 (Soft Gray)

6. Signature Design Concept

Page 6 of 9

Interactive Lemon Tree Dashboard

The homepage will feature an interactive lemon tree as the central visual metaphor for portfolio growth.

  • Design Details:

    • The tree grows dynamically as the user adds stocks to their portfolio.
    • Each stock is represented as a lemon on the tree, with size and color indicating performance (e.g., green for gains, red for losses).
    • Hovering over a lemon reveals stock details in a tooltip.
    • The background subtly shifts from dawn to dusk based on the user’s local time, creating a sense of time progression.
  • Animations:

    • Smooth transitions as lemons grow or shrink based on portfolio changes.
    • A gentle breeze animation moves the tree leaves, adding a sense of life.
  • Interactions:

    • Clicking on a lemon opens the stock’s detailed view.
    • The tree can be zoomed in/out for a closer look at individual stocks.

This concept will make the Lemon-Portfolio platform visually engaging and memorable while reinforcing the theme of growth and investment.

Page 7 of 9

7. Non-Functional Requirements

  • Performance:

    • The system should handle up to 1,000 concurrent users with minimal latency.
    • Data refresh intervals should not exceed 60 seconds.
  • Scalability:

    • The architecture should allow for future expansion, including advanced analytics and multi-portfolio support.
  • Security:

    • User data must be encrypted in transit and at rest.
    • Authentication mechanisms should follow best practices.
  • Usability:

    • The platform should be intuitive and easy to navigate.
    • The UI should be responsive and mobile-friendly.

8. Tech Stack

Frontend

  • React for Web

Backend

  • Python
  • FastAPI
Page 8 of 9

Database

  • MySQL (with Alembic for migrations)

AI Models

  • Claude 4.6 Opas for financial Q&A

AI Tools

  • LangChain

Local Orchestration

  • Docker
  • Docker-Compose

Server-Side Orchestration

  • Kubernetes

9. Assumptions and Constraints

  • The MVP will integrate with a single market data API (e.g., Financial Modeling Prep).
  • Advanced features like Monte Carlo simulations and machine learning models are out of scope for this phase.
  • The platform will support only one portfolio per user in the MVP.
  • The system will not include a subscription or payment gateway in this phase.
Page 9 of 9

10. Glossary

  • MVP: Minimum Viable Product.
  • P&L: Profit and Loss.
  • P/E Ratio: Price-to-Earnings Ratio, a financial metric.
  • API: Application Programming Interface.
  • AI Assistant: A chatbot powered by artificial intelligence for financial Q&A.

This concludes the updated System Requirements Document for the Lemon-Portfolio project.

Landing design preview
Landing: View Info
Login: Sign In
Landing: Register
Signup: Create Account
Dashboard: View Portfolio
Portfolio: Add Stock
Stock Detail: View Metrics
Compare: Compare Stocks
AI Assistant: Ask Question
Dashboard: View Risk Level