Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Julian-Idl/FinAssist
/ functions
Functions
450 in github.com/Julian-Idl/FinAssist
⨍
Functions
450
◇
Types & classes
150
↳
Endpoints
8
↓ 63 callers
Function
cn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 21 callers
Method
request
( endpoint: string, options: RequestInit = {} )
src/lib/api-client.ts:91
↓ 8 callers
Function
formatCurrency
(amount: number)
src/app/portfolio/page.tsx:421
↓ 8 callers
Method
get_stock_info
Get comprehensive stock information with prices converted to INR.
scripts/stock_service.py:145
↓ 8 callers
Function
parseNumber
(value: string)
src/app/financial-data/page.tsx:129
↓ 7 callers
Function
formatCurrency
(amount: number)
src/app/goals/page.tsx:139
↓ 6 callers
Method
_convert_to_inr
Convert price to INR if needed.
scripts/stock_service.py:132
↓ 6 callers
Function
run_command
Run a command and print status
quick_setup.py:14
↓ 5 callers
Function
buildBackendUrl
(endpoint: string)
src/lib/backend-api.ts:34
↓ 5 callers
Function
calculateFinancialHealthScore
(data: DashboardData)
src/app/dashboard/page.tsx:148
↓ 5 callers
Method
callPythonScript
* Call Python ML script with data
src/lib/ml-recommendation-service.ts:323
↓ 5 callers
Method
close_session
Close a database session.
scripts/database.py:57
↓ 4 callers
Method
catch_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 callers
Method
collect_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 callers
Method
get_session
Get a database session.
scripts/database.py:53
↓ 4 callers
Function
handlePageChange
(page: number)
src/app/news/page.tsx:108
↓ 4 callers
Function
loadGoals
()
src/app/goals/page.tsx:113
↓ 4 callers
Function
removeItem
(id: string, type: string)
src/app/financial-data/page.tsx:673
↓ 4 callers
Function
saveFinancialData
(type: string, data: Record<string, unknown>)
src/app/financial-data/page.tsx:429
↓ 4 callers
Function
useFormField
()
src/components/ui/form.tsx:45
↓ 3 callers
Function
calculatePortfolioAnalytics
(investments: Investment[])
src/app/dashboard/page.tsx:379
↓ 3 callers
Method
calculateRecommendation
(stockData: StockData, rating: number)
src/app/api/portfolio/research/route.ts:468
↓ 3 callers
Method
calculateTechnicalRating
(stockData: StockData)
src/app/api/portfolio/research/route.ts:381
↓ 3 callers
Method
determineRiskProfile
(riskScore: number)
src/lib/enhanced-recommendation-engine.ts:162
↓ 3 callers
Function
fetchNews
(page = 1, search = "", sentiment = "all", category = "all")
src/app/news/page.tsx:65
↓ 3 callers
Method
generateRecommendations
(profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:167
↓ 3 callers
Method
getDefaultMLInsights
* Get default ML insights when ML is not available
src/lib/ml-recommendation-service.ts:308
↓ 3 callers
Method
getFinancialData
()
src/lib/api-client.ts:145
↓ 3 callers
Method
getStockQuote
(symbol: string)
src/app/api/portfolio/research/route.ts:68
↓ 3 callers
Function
implementRecommendation
(recommendationId: string, action: string, data: unknown)
src/app/recommendations/page.tsx:469
↓ 3 callers
Function
loadNotes
()
src/app/notes/page.tsx:130
↓ 3 callers
Function
loadPortfolioData
()
src/app/portfolio/page.tsx:163
↓ 3 callers
Method
transformUserForML
* Transform user data for ML processing
src/lib/ml-recommendation-service.ts:214
↓ 2 callers
Function
calculatePortfolioMetrics
(user: UserPortfolioData)
src/app/api/portfolio/route.ts:54
↓ 2 callers
Function
calculateRequiredMonthlyContribution
(targetAmount: number, currentAmount: number, targetDate: string)
src/app/goals/page.tsx:147
↓ 2 callers
Method
createFinancialData
(data: FinancialData)
src/lib/api-client.ts:149
↓ 2 callers
Method
create_tables
Create all tables if they don't exist.
scripts/database.py:49
↓ 2 callers
Method
deleteFinancialData
(id: string, type: string)
src/lib/api-client.ts:163
↓ 2 callers
Method
estimateMarketCap
(symbol: string, _price: number)
src/app/api/portfolio/research/route.ts:486
↓ 2 callers
Method
estimatePE
(symbol: string)
src/app/api/portfolio/research/route.ts:515
↓ 2 callers
Function
fetchRecommendations
()
src/app/recommendations/page.tsx:334
↓ 2 callers
Method
getDebtManagementRecommendations
(_profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:541
↓ 2 callers
Method
getEmergencyFundRecommendations
(profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:249
↓ 2 callers
Method
getGoalPlanningRecommendations
(_profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:549
↓ 2 callers
Function
getHealthScoreColor
(score: number)
src/app/recommendations/page.tsx:456
↓ 2 callers
Method
getInsuranceRecommendations
(profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:419
↓ 2 callers
Method
getInvestmentRecommendations
(profile: UserFinancialProfile, _portfolioAnalysis: PortfolioAnalysis)
src/lib/enhanced-recommendation-engine.ts:291
↓ 2 callers
Method
getMLEnhancedRecommendations
* Get ML-enhanced recommendations for a user
src/lib/ml-recommendation-service.ts:114
↓ 2 callers
Method
getMockStockData
(symbol: string)
src/app/api/portfolio/research/route.ts:155
↓ 2 callers
Method
getMultipleStocks
(symbols: string[])
src/app/api/portfolio/research/route.ts:108
↓ 2 callers
Method
getSectorFromSymbol
(symbol: string)
src/app/api/portfolio/research/route.ts:343
↓ 2 callers
Method
getTaxSavingRecommendations
(profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:497
↓ 2 callers
Method
getTrendingStocks
()
src/app/api/portfolio/research/route.ts:247
↓ 2 callers
Method
get_latest_news
Get the latest financial news from the specified hours back.
scripts/news_api.py:124
↓ 2 callers
Method
get_popular_stocks
Get popular stocks for a specific market.
scripts/stock_service.py:280
↓ 2 callers
Function
handleSelect
(stock: StockInfo)
src/components/ui/stock-autocomplete.tsx:125
↓ 2 callers
Function
loadCategoryBudgets
()
src/app/financial-data/page.tsx:388
↓ 2 callers
Function
loadCategoryBudgetsWithExpenses
(expenses: ActualExpense[])
src/app/financial-data/page.tsx:392
↓ 2 callers
Function
openArticle
(article: NewsArticle)
src/app/news/page.tsx:148
↓ 2 callers
Method
priorityWeight
(priority: string)
src/lib/dynamic-recommendation-engine.ts:588
↓ 2 callers
Function
resetForm
()
src/app/notes/page.tsx:240
↓ 2 callers
Function
resetForm
()
src/app/goals/page.tsx:323
↓ 2 callers
Method
transformArticles
(articles: any[])
src/lib/news-fetcher-service.ts:138
↓ 1 callers
Function
POST
(request: NextRequest)
src/app/api/stocks/update-prices/route.ts:14
↓ 1 callers
Method
_analyze_and_update_sentiment
Analyze sentiment and update article.
scripts/news_collector.py:113
↓ 1 callers
Method
_article_exists
Check if article already exists in database.
scripts/news_collector.py:126
↓ 1 callers
Method
_convert_api_article_to_db_article
Convert NewsAPI article format to database model.
scripts/news_collector.py:77
↓ 1 callers
Method
_extract_keywords
Extract keywords from article title and description.
scripts/news_collector.py:55
↓ 1 callers
Method
_fetch_by_category
Fetch news by category.
scripts/news_api.py:69
↓ 1 callers
Method
_fetch_by_keyword
Fetch news by keyword search.
scripts/news_api.py:96
↓ 1 callers
Method
_get_usd_to_inr_rate
Get current USD to INR exchange rate.
scripts/stock_service.py:116
↓ 1 callers
Method
_initialize_model
Initialize the FinBERT model and tokenizer.
scripts/sentiment_analyzer.py:19
↓ 1 callers
Method
_initialize_sentiment_analyzer
Initialize sentiment analyzer (lazy loading due to model size).
scripts/news_collector.py:49
↓ 1 callers
Method
_is_cache_valid
Check if cached data is still valid.
scripts/stock_service.py:108
↓ 1 callers
Function
addActualExpense
()
src/app/financial-data/page.tsx:546
↓ 1 callers
Function
addAsset
()
src/app/financial-data/page.tsx:608
↓ 1 callers
Function
addBudgetAllocation
()
src/app/financial-data/page.tsx:501
↓ 1 callers
Method
addFinancialHealthActionItems
(actionItems: ActionItem[], _recommendations: Recommendation[])
src/lib/enhanced-recommendation-engine.ts:785
↓ 1 callers
Function
addIncomeSource
()
src/app/financial-data/page.tsx:481
↓ 1 callers
Function
addInsurancePolicy
()
src/app/financial-data/page.tsx:653
↓ 1 callers
Function
addInvestment
()
src/app/financial-data/page.tsx:628
↓ 1 callers
Method
addPortfolioActionItems
(actionItems: ActionItem[], recommendations: Recommendation[])
src/lib/enhanced-recommendation-engine.ts:758
↓ 1 callers
Method
adjustConfidenceWithML
* Adjust recommendation confidence based on ML insights
src/lib/ml-recommendation-service.ts:269
↓ 1 callers
Method
analyzePortfolio
(profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:557
↓ 1 callers
Method
analyzePortfolio
(user: any)
src/lib/dynamic-recommendation-engine.ts:159
↓ 1 callers
Method
analyzeSentiment
(text: string)
src/lib/news-fetcher-service.ts:185
↓ 1 callers
Method
analyze_article_sentiment
Analyze sentiment of a news article using title, description, and content. Args: title: Article title
scripts/sentiment_analyzer.py:108
↓ 1 callers
Method
analyze_sentiment
Analyze sentiment of financial text. Args: text: The text to analyze Returns: T
scripts/sentiment_analyzer.py:55
↓ 1 callers
Method
calculateAnalystRating
(stockData: StockData)
src/app/api/portfolio/research/route.ts:299
↓ 1 callers
Method
calculateCurrentAllocation
(investments: any[], totalValue: number)
src/lib/enhanced-recommendation-engine.ts:597
↓ 1 callers
Method
calculateCurrentAllocation
(investments: any[], totalValue: number)
src/lib/dynamic-recommendation-engine.ts:349
↓ 1 callers
Method
calculateDiversificationScore
(allocation: Record<string, number>)
src/lib/enhanced-recommendation-engine.ts:635
↓ 1 callers
Method
calculateDiversificationScore
(_investments: unknown[])
src/lib/dynamic-recommendation-engine.ts:535
↓ 1 callers
Method
calculateExpectedReturn
(allocation: Record<string, number>, _riskProfile: string)
src/lib/enhanced-recommendation-engine.ts:642
↓ 1 callers
Method
calculateFinancialHealth
(profile: UserFinancialProfile)
src/lib/enhanced-recommendation-engine.ts:654
↓ 1 callers
Function
calculateFinancialSummary
(user: UserData)
src/app/api/dashboard/route.ts:134
↓ 1 callers
Method
calculateFundamentalRating
(stockData: StockData)
src/app/api/portfolio/research/route.ts:277
↓ 1 callers
Function
calculateInvestmentMetrics
(user: UserData)
src/app/api/dashboard/route.ts:181
↓ 1 callers
Method
calculatePerformanceMetrics
(_investments: unknown[])
src/lib/dynamic-recommendation-engine.ts:545
↓ 1 callers
Function
calculateProgress
(current: number, target: number)
src/app/goals/page.tsx:136
next →
1–100 of 450, ranked by callers