Skip to content

feat: Analytics module — portfolio earnings & advanced DeFi analytics (#229)#234

Open
GBOYEE wants to merge 2 commits into
Neko-Protocol:devfrom
GBOYEE:feat/analytics-only-229
Open

feat: Analytics module — portfolio earnings & advanced DeFi analytics (#229)#234
GBOYEE wants to merge 2 commits into
Neko-Protocol:devfrom
GBOYEE:feat/analytics-only-229

Conversation

@GBOYEE

@GBOYEE GBOYEE commented Jun 21, 2026

Copy link
Copy Markdown

Summary

Implements a comprehensive Analytics module that provides users with a consolidated view of their portfolio performance, yield breakdown by protocol, risk exposure analysis, and performance trends.

Changes

  • features/analytics/types/index.ts — PositionSnapshot, PortfolioSummary, YieldBreakdown, RiskExposure, PerformanceDataPoint types
  • features/analytics/hooks/usePortfolioAnalytics.ts — Analytics engine: filter positions, compute yield breakdown, risk scoring, performance history
  • features/analytics/components/AnalyticsDashboard.tsx — Dashboard UI: filters, summary cards, best/worst performers, yield breakdown, risk exposure, performance trend chart
  • features/analytics/index.ts — Barrel exports

Key Features

  • Time range filters: 7d, 30d, 90d, all time
  • Chain filtering: Stellar, Ethereum, Solana
  • Best/worst performing positions
  • Yield breakdown by protocol with visual distribution
  • Risk exposure scoring with concentration analysis
  • Performance trend chart

Closes #229

root added 2 commits June 21, 2026 11:17
## Smart Yield Router (features/automation)
- YieldStrategy types with risk profiles, allocation targets, and router events
- useYieldRouter hook: create strategies, add allocations, evaluate rebalancing
- Simulate rebalancing with APY improvement and gas estimates
- YieldRouter component: stats overview, strategy creation, recommendations

## Analytics Dashboard (features/analytics)
- PositionSnapshot, PortfolioSummary, YieldBreakdown, RiskExposure types
- usePortfolioAnalytics hook: filter positions, compute yield breakdown, risk scoring
- AnalyticsDashboard component: filters, summary cards, best/worst performers
- Yield by protocol breakdown, risk exposure analysis, performance trend chart

Closes Neko-Protocol#230
Closes Neko-Protocol#229
@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Oppia Software Labs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Analytics module: portfolio earnings & advanced DeFi analytics

1 participant