https://github.com/duartemcsilva/post-transaction-lambda
This lambda receives transactions and stores the updated state in the database.
https://github.com/duartemcsilva/post-transaction-lambda
aws-dynamodb aws-lambda javascript
Last synced: about 1 year ago
JSON representation
This lambda receives transactions and stores the updated state in the database.
- Host: GitHub
- URL: https://github.com/duartemcsilva/post-transaction-lambda
- Owner: DuarteMCSilva
- Created: 2024-01-04T11:30:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-24T17:09:22.000Z (over 2 years ago)
- Last Synced: 2025-03-16T11:18:11.331Z (about 1 year ago)
- Topics: aws-dynamodb, aws-lambda, javascript
- Language: JavaScript
- Homepage:
- Size: 205 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Track App!
The track app tracks data and is a way to fullfill a personal need, while applying the professional skills that I'm interested in.
## Users
## Features
1. Portfolio
i. Current State
ii. Evolution
2. Watchlist
3. Price Calculator
4. End-position decision Feedback
5. Authentication
## Workflows
1. GET Portfolio
2. POST transaction

## External API
1. Google Finance
i. curr_price
ii. price vs. time
## Persistence
### Tables:
1. Portfolio:
TICKER | Quantity | BuyPrice | HistDividend
2. Transactions
DATE | orderType | TICKER | Quantity | VALUE | FEES
### Testing Execution Example
```
{
"body": {
"item": {
"date": "20180118",
"ticker": "BABA",
"price": 75.43,
"quantity": 32,
"fees": 3.42,
"dividend": 0,
"orderType": "BUY"
}
}
}
```