MCPcopy Create free account

hub / github.com/Julian-Idl/FinAssist / functions

Functions450 in github.com/Julian-Idl/FinAssist

↓ 63 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 21 callersMethodrequest
( endpoint: string, options: RequestInit = {} )
src/lib/api-client.ts:91
↓ 8 callersFunctionformatCurrency
(amount: number)
src/app/portfolio/page.tsx:421
↓ 8 callersMethodget_stock_info
Get comprehensive stock information with prices converted to INR.
scripts/stock_service.py:145
↓ 8 callersFunctionparseNumber
(value: string)
src/app/financial-data/page.tsx:129
↓ 7 callersFunctionformatCurrency
(amount: number)
src/app/goals/page.tsx:139
↓ 6 callersMethod_convert_to_inr
Convert price to INR if needed.
scripts/stock_service.py:132
↓ 6 callersFunctionrun_command
Run a command and print status
quick_setup.py:14
↓ 5 callersFunctionbuildBackendUrl
(endpoint: string)
src/lib/backend-api.ts:34
↓ 5 callersFunctioncalculateFinancialHealthScore
(data: DashboardData)
src/app/dashboard/page.tsx:148
↓ 5 callersMethodcallPythonScript
* Call Python ML script with data
src/lib/ml-recommendation-service.ts:323
↓ 5 callersMethodclose_session
Close a database session.
scripts/database.py:57
↓ 4 callersMethodcatch_up_missed_news
Catch up on news that was missed while the system was offline. Args: max_days_back: Maximum number of days to lo
scripts/news_collector.py:211
↓ 4 callersMethodcollect_and_store_news
Collect news articles and store them in the database. Args: hours_back: How many hours back to fetch news from
scripts/news_collector.py:130
↓ 4 callersMethodget_session
Get a database session.
scripts/database.py:53
↓ 4 callersFunctionhandlePageChange
(page: number)
src/app/news/page.tsx:108
↓ 4 callersFunctionloadGoals
()
src/app/goals/page.tsx:113
↓ 4 callersFunctionremoveItem
(id: string, type: string)
src/app/financial-data/page.tsx:673
↓ 4 callersFunctionsaveFinancialData
(type: string, data: Record<string, unknown>)
src/app/financial-data/page.tsx:429
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:45
↓ 3 callersFunctioncalculatePortfolioAnalytics
(investments: Investment[])
src/app/dashboard/page.tsx:379
↓ 3 callersMethodcalculateRecommendation
(stockData: StockData, rating: number)
src/app/api/portfolio/research/route.ts:468
↓ 3 callersMethodcalculateTechnicalRating
(stockData: StockData)
src/app/api/portfolio/research/route.ts:381
↓ 3 callersMethoddetermineRiskProfile
(riskScore: number)
src/lib/enhanced-recommendation-engine.ts:162
↓ 3 callersFunctionfetchNews
(page = 1, search = "", sentiment = "all", category = "all")
src/app/news/page.tsx:65
↓ 3 callersMethodgenerateRecommendations
(profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:167
↓ 3 callersMethodgetDefaultMLInsights
* Get default ML insights when ML is not available
src/lib/ml-recommendation-service.ts:308
↓ 3 callersMethodgetFinancialData
()
src/lib/api-client.ts:145
↓ 3 callersMethodgetStockQuote
(symbol: string)
src/app/api/portfolio/research/route.ts:68
↓ 3 callersFunctionimplementRecommendation
(recommendationId: string, action: string, data: unknown)
src/app/recommendations/page.tsx:469
↓ 3 callersFunctionloadNotes
()
src/app/notes/page.tsx:130
↓ 3 callersFunctionloadPortfolioData
()
src/app/portfolio/page.tsx:163
↓ 3 callersMethodtransformUserForML
* Transform user data for ML processing
src/lib/ml-recommendation-service.ts:214
↓ 2 callersFunctioncalculatePortfolioMetrics
(user: UserPortfolioData)
src/app/api/portfolio/route.ts:54
↓ 2 callersFunctioncalculateRequiredMonthlyContribution
(targetAmount: number, currentAmount: number, targetDate: string)
src/app/goals/page.tsx:147
↓ 2 callersMethodcreateFinancialData
(data: FinancialData)
src/lib/api-client.ts:149
↓ 2 callersMethodcreate_tables
Create all tables if they don't exist.
scripts/database.py:49
↓ 2 callersMethoddeleteFinancialData
(id: string, type: string)
src/lib/api-client.ts:163
↓ 2 callersMethodestimateMarketCap
(symbol: string, _price: number)
src/app/api/portfolio/research/route.ts:486
↓ 2 callersMethodestimatePE
(symbol: string)
src/app/api/portfolio/research/route.ts:515
↓ 2 callersFunctionfetchRecommendations
()
src/app/recommendations/page.tsx:334
↓ 2 callersMethodgetDebtManagementRecommendations
(_profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:541
↓ 2 callersMethodgetEmergencyFundRecommendations
(profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:249
↓ 2 callersMethodgetGoalPlanningRecommendations
(_profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:549
↓ 2 callersFunctiongetHealthScoreColor
(score: number)
src/app/recommendations/page.tsx:456
↓ 2 callersMethodgetInsuranceRecommendations
(profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:419
↓ 2 callersMethodgetInvestmentRecommendations
(profile: UserFinancialProfile, _portfolioAnalysis: PortfolioAnalysis)
src/lib/enhanced-recommendation-engine.ts:291
↓ 2 callersMethodgetMLEnhancedRecommendations
* Get ML-enhanced recommendations for a user
src/lib/ml-recommendation-service.ts:114
↓ 2 callersMethodgetMockStockData
(symbol: string)
src/app/api/portfolio/research/route.ts:155
↓ 2 callersMethodgetMultipleStocks
(symbols: string[])
src/app/api/portfolio/research/route.ts:108
↓ 2 callersMethodgetSectorFromSymbol
(symbol: string)
src/app/api/portfolio/research/route.ts:343
↓ 2 callersMethodgetTaxSavingRecommendations
(profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:497
↓ 2 callersMethodgetTrendingStocks
()
src/app/api/portfolio/research/route.ts:247
↓ 2 callersMethodget_latest_news
Get the latest financial news from the specified hours back.
scripts/news_api.py:124
↓ 2 callersMethodget_popular_stocks
Get popular stocks for a specific market.
scripts/stock_service.py:280
↓ 2 callersFunctionhandleSelect
(stock: StockInfo)
src/components/ui/stock-autocomplete.tsx:125
↓ 2 callersFunctionloadCategoryBudgets
()
src/app/financial-data/page.tsx:388
↓ 2 callersFunctionloadCategoryBudgetsWithExpenses
(expenses: ActualExpense[])
src/app/financial-data/page.tsx:392
↓ 2 callersFunctionopenArticle
(article: NewsArticle)
src/app/news/page.tsx:148
↓ 2 callersMethodpriorityWeight
(priority: string)
src/lib/dynamic-recommendation-engine.ts:588
↓ 2 callersFunctionresetForm
()
src/app/notes/page.tsx:240
↓ 2 callersFunctionresetForm
()
src/app/goals/page.tsx:323
↓ 2 callersMethodtransformArticles
(articles: any[])
src/lib/news-fetcher-service.ts:138
↓ 1 callersFunctionPOST
(request: NextRequest)
src/app/api/stocks/update-prices/route.ts:14
↓ 1 callersMethod_analyze_and_update_sentiment
Analyze sentiment and update article.
scripts/news_collector.py:113
↓ 1 callersMethod_article_exists
Check if article already exists in database.
scripts/news_collector.py:126
↓ 1 callersMethod_convert_api_article_to_db_article
Convert NewsAPI article format to database model.
scripts/news_collector.py:77
↓ 1 callersMethod_extract_keywords
Extract keywords from article title and description.
scripts/news_collector.py:55
↓ 1 callersMethod_fetch_by_category
Fetch news by category.
scripts/news_api.py:69
↓ 1 callersMethod_fetch_by_keyword
Fetch news by keyword search.
scripts/news_api.py:96
↓ 1 callersMethod_get_usd_to_inr_rate
Get current USD to INR exchange rate.
scripts/stock_service.py:116
↓ 1 callersMethod_initialize_model
Initialize the FinBERT model and tokenizer.
scripts/sentiment_analyzer.py:19
↓ 1 callersMethod_initialize_sentiment_analyzer
Initialize sentiment analyzer (lazy loading due to model size).
scripts/news_collector.py:49
↓ 1 callersMethod_is_cache_valid
Check if cached data is still valid.
scripts/stock_service.py:108
↓ 1 callersFunctionaddActualExpense
()
src/app/financial-data/page.tsx:546
↓ 1 callersFunctionaddAsset
()
src/app/financial-data/page.tsx:608
↓ 1 callersFunctionaddBudgetAllocation
()
src/app/financial-data/page.tsx:501
↓ 1 callersMethodaddFinancialHealthActionItems
(actionItems: ActionItem[], _recommendations: Recommendation[])
src/lib/enhanced-recommendation-engine.ts:785
↓ 1 callersFunctionaddIncomeSource
()
src/app/financial-data/page.tsx:481
↓ 1 callersFunctionaddInsurancePolicy
()
src/app/financial-data/page.tsx:653
↓ 1 callersFunctionaddInvestment
()
src/app/financial-data/page.tsx:628
↓ 1 callersMethodaddPortfolioActionItems
(actionItems: ActionItem[], recommendations: Recommendation[])
src/lib/enhanced-recommendation-engine.ts:758
↓ 1 callersMethodadjustConfidenceWithML
* Adjust recommendation confidence based on ML insights
src/lib/ml-recommendation-service.ts:269
↓ 1 callersMethodanalyzePortfolio
(profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:557
↓ 1 callersMethodanalyzePortfolio
(user: any)
src/lib/dynamic-recommendation-engine.ts:159
↓ 1 callersMethodanalyzeSentiment
(text: string)
src/lib/news-fetcher-service.ts:185
↓ 1 callersMethodanalyze_article_sentiment
Analyze sentiment of a news article using title, description, and content. Args: title: Article title
scripts/sentiment_analyzer.py:108
↓ 1 callersMethodanalyze_sentiment
Analyze sentiment of financial text. Args: text: The text to analyze Returns: T
scripts/sentiment_analyzer.py:55
↓ 1 callersMethodcalculateAnalystRating
(stockData: StockData)
src/app/api/portfolio/research/route.ts:299
↓ 1 callersMethodcalculateCurrentAllocation
(investments: any[], totalValue: number)
src/lib/enhanced-recommendation-engine.ts:597
↓ 1 callersMethodcalculateCurrentAllocation
(investments: any[], totalValue: number)
src/lib/dynamic-recommendation-engine.ts:349
↓ 1 callersMethodcalculateDiversificationScore
(allocation: Record<string, number>)
src/lib/enhanced-recommendation-engine.ts:635
↓ 1 callersMethodcalculateDiversificationScore
(_investments: unknown[])
src/lib/dynamic-recommendation-engine.ts:535
↓ 1 callersMethodcalculateExpectedReturn
(allocation: Record<string, number>, _riskProfile: string)
src/lib/enhanced-recommendation-engine.ts:642
↓ 1 callersMethodcalculateFinancialHealth
(profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:654
↓ 1 callersFunctioncalculateFinancialSummary
(user: UserData)
src/app/api/dashboard/route.ts:134
↓ 1 callersMethodcalculateFundamentalRating
(stockData: StockData)
src/app/api/portfolio/research/route.ts:277
↓ 1 callersFunctioncalculateInvestmentMetrics
(user: UserData)
src/app/api/dashboard/route.ts:181
↓ 1 callersMethodcalculatePerformanceMetrics
(_investments: unknown[])
src/lib/dynamic-recommendation-engine.ts:545
↓ 1 callersFunctioncalculateProgress
(current: number, target: number)
src/app/goals/page.tsx:136
next →1–100 of 450, ranked by callers