Skip to content

feat: portfolio templates with descriptions and risk levels#107

Merged
ritik4ever merged 2 commits intoritik4ever:mainfrom
bandanadivya:feature/portfolio-templates
Feb 26, 2026
Merged

feat: portfolio templates with descriptions and risk levels#107
ritik4ever merged 2 commits intoritik4ever:mainfrom
bandanadivya:feature/portfolio-templates

Conversation

@bandanadivya
Copy link
Contributor

Portfolio templates with descriptions and risk levels

Adds preset and custom portfolio templates so users don’t have to configure allocations from scratch.

Templates

  • Conservative — 60% USDC, 30% XLM, 10% BTC (low risk)
  • Balanced — 40% USDC, 30% XLM, 20% BTC, 10% ETH (medium risk)
  • Aggressive — 50% BTC, 30% ETH, 20% XLM (high risk)
  • Stablecoin Focus — 80% USDC, 20% XLM (low risk)
  • Custom — user-defined allocation

Each template has a short description and a risk-level badge (Low / Medium / High).

Implementation

  • Template selector at the top of portfolio creation: card per template with name, description, risk level, and asset count.
  • Modifiable before creation: applying a template fills the allocation rows; user can add/remove assets and change percentages before submitting.
  • Save custom templates per user: “Save current allocation as my template” (when valid) stores in localStorage keyed by wallet/anon; “My saved templates” lists them with apply/remove.

Acceptance

  • At least 4 preset templates available.
  • Users can create from a template.
  • Templates are modifiable before creation.
  • Risk level shown for each template.

closes #98

- Add 4 presets: Conservative, Balanced, Aggressive, Stablecoin Focus + Custom
- Template selector with description and risk level (Low/Medium/High) per template
- Allocations modifiable before creation; apply template then edit as needed
- Save custom templates per user (localStorage); My saved templates section
@vercel
Copy link

vercel bot commented Feb 26, 2026

Someone is attempting to deploy a commit to the ritik4ever's projects Team on Vercel.

A member of the Team first needs to authorize it.

@ritik4ever ritik4ever merged commit 98dff7c into ritik4ever:main Feb 26, 2026
0 of 2 checks passed
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.

Add portfolio templates and presets

2 participants