feat(investments): auto-classify transfers to investment accounts as savings
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start by tracing the regular transactions pipeline and how classification rules write to transaction_entries. Then inspect the investment tracking flow and investment_transactions schema, including how total_contributed is calculated. Add coverage for known providers, unknown transfers, merchant overrides, and contribution tallying; done means all acceptance criteria pass.
Written by the indexing model from the issue text.
Description
Summary
When a regular chequing/credit transaction is a transfer to an investment account, automatically classify it as savings — not as a generic transfer or expense.
This is the bridge between the regular transactions pipeline and the investment tracking system.
Detection logic
A transaction should be classified as savings when any of these are true:
- The merchant name matches a known investment provider (Wealthsimple, Questrade, RBC Direct Investing, Sunlife, etc.)
- The destination account (when detectable via Plaid transfer data) is flagged
is_investment=True - The user has set a classification rule or hint tagging this merchant as savings
What happens downstream
- Transaction classified as
savings→ entry created intransaction_entrieswith the savings line item - Also creates a row in
investment_transactionswithtype='contribution'for the destination account (if known) - Contribution is counted in
total_contributedfor portfolio growth calculations
Default classification rule seeded
name: "Investment account contributions"
type: savings
description: "Transfers to Wealthsimple, Questrade, RBC Direct Investing, Sunlife,
Manulife, TFSA, RRSP, FHSA — classify as savings"
Acceptance criteria
- Wealthsimple / Questrade transfers →
savingsby default - User can override per merchant
- Contribution correctly tallied in portfolio
total_contributed - Tests: known providers classified correctly; unknown transfers not auto-tagged
Part of Epic #239
- Dominant language
- Python
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Riddy21/Friday_Budgeting_Pro
-
Contact Hong Opentask
Difficulty 5/5 Over a week Newbie friendliness 1/100
Riddy21/Friday_Budgeting_Pro#353 ·
-
enhancement frontend mobile ui
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Riddy21/Friday_Budgeting_Pro#348 ·
-
enhancement frontend ui
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Riddy21/Friday_Budgeting_Pro#347 ·
-
enhancement frontend ui
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Riddy21/Friday_Budgeting_Pro#346 ·
-
enhancement frontend ui
Difficulty 3/5 1-2 days Newbie friendliness 52/100
Riddy21/Friday_Budgeting_Pro#345 ·
All issues in Riddy21/Friday_Budgeting_Pro
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100