Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investments tracking #110

Open
wants to merge 47 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
d996a3d
feat: Add models and migrations
letehaha Jan 29, 2024
5f0039c
feat: Improve models typing
letehaha Jan 29, 2024
03764c7
feat: Add load/sync securities implementation
letehaha Jan 29, 2024
9b68a1e
chore: Investments progress
letehaha Feb 4, 2024
b7e207e
feat: Add securities syncing
letehaha Apr 7, 2024
eeede34
chore: Remove securities mocks from .gitignore & optimize their size
letehaha Apr 8, 2024
7e942ec
feat: Add fetch and create of Holdings
letehaha Apr 8, 2024
020fc04
feat: Extend auth token to 24h
letehaha Apr 9, 2024
1a12384
fix: `HoldingAttributes` definition
letehaha Apr 9, 2024
14a07d9
feat: Load securities by query
letehaha Apr 12, 2024
c9d4124
feat: Improve securities sync and add investment tx creation
letehaha Apr 13, 2024
ac4adfe
feat: Holding data calculation on new invest tx
letehaha Apr 13, 2024
53a1012
feat: Update shared-types
letehaha Apr 14, 2024
9a337e4
feat(docs): Add comments to `SecurityModel`
letehaha Apr 14, 2024
905bdaf
feat: Load investment transactions list
letehaha Apr 19, 2024
fe63ce4
fix: refCostBasis calculation
letehaha Apr 21, 2024
4b47dca
chore: Organize holdings service better
letehaha Apr 21, 2024
ee9c56d
chore: Load securities list to global tests scope
letehaha Jun 11, 2024
c9b6629
feat: Add holdings creation e2e tests and restructure code a bit
letehaha Jun 11, 2024
91a619e
chore: Add holdings get/create tests helpers
letehaha Jun 11, 2024
989d5e3
feat: Holdings loading controller
letehaha Jun 11, 2024
72bd0c9
feat: Allow nullish value for `name` of `InvestmentTransaction`
letehaha Jun 11, 2024
6c1918f
feat: Add basic test for investment transaction creation
letehaha Jun 11, 2024
888d0e9
fix: Migrations order
letehaha Sep 22, 2024
1d66468
chore: prettier
letehaha Sep 25, 2024
37197d2
feat: Improve securities syncing
letehaha Sep 26, 2024
dbcec50
refactor: Balances table updation on tx deletion
letehaha Sep 26, 2024
ab8cef2
refactor: Split bunch of accounts services into separate files
letehaha Sep 26, 2024
3fe2232
refactor: split more accounts services into files
letehaha Sep 26, 2024
26218a1
refactor: split accounts controller into files and add input validation
letehaha Sep 26, 2024
4357c03
chore: Adjust jest timeout for investments tests
letehaha Sep 26, 2024
b05226b
chore: remove logging when running tests
letehaha Sep 26, 2024
e0ce28e
refactor: Move balances updation out of tx onBeforeDestroy hook
letehaha Sep 27, 2024
9d097e1
chore: cleanup
letehaha Sep 27, 2024
f20e0e6
chore: cleanup useless code
letehaha Sep 27, 2024
7b72357
refactor: Account creation balance updation
letehaha Sep 28, 2024
fff2db2
refactor: improve account updation service params
letehaha Sep 28, 2024
65abce3
fix: Wrong balances table updation + add tests for it
letehaha Sep 28, 2024
0de98fb
feat: Extend balances updation tests
letehaha Sep 29, 2024
3848745
chore: Move balances tests to a correct place
letehaha Sep 29, 2024
428561e
chore: Add checls for account `refCurrentBalance`
letehaha Sep 29, 2024
af44d94
refactor: Move account updation to a separate service out of Transact…
letehaha Sep 29, 2024
0d78d86
feat: Upgrade TS version
letehaha Sep 29, 2024
9dc983c
refactor: Move balances updation out of Transactions model
letehaha Sep 29, 2024
a769d32
feat: Add investments tx controller and more tests
letehaha Sep 29, 2024
c4cd517
feat: Disallow creating holding for non-investment accounts
letehaha Oct 15, 2024
bc091a1
chore: intermediate progress
letehaha Nov 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
- POSTGRES_USER=${APPLICATION_DB_USERNAME}
- POSTGRES_PASSWORD=${APPLICATION_DB_PASSWORD}
- POSTGRES_DB=${APPLICATION_DB_DATABASE}
ports: ['${APPLICATION_DB_PORT}:5432']
ports: ['${APPLICATION_DB_PORT}:${APPLICATION_DB_PORT}']

redis:
image: redis:6
Expand Down
Loading
Loading