Closed dawids21 closed 11 months ago
Add a new type of transaction: DIVIDEND.
DIVIDEND
Fill in the transaction fields:
ISIN
account_id
quantity
price
tax
tax_currency
date
When adding the transaction we should add the corresponding transition in account with correlation_id that will increase the amount of money. Fields:
correlation_id
id
type
amount
currency
StockTransaction
Remember to check if stock or account needs rebuilding.
Waiting for:
Add a new type of transaction:
DIVIDEND
.Fill in the transaction fields:
ISIN
- stock's ISINaccount_id
quantity
- quantity from the StockBalanceprice
- value per sharetax
- from account preferencetax_currency
- from account preferencedate
- date of the dividendWhen adding the transaction we should add the corresponding transition in account with
correlation_id
that will increase the amount of money. Fields:id
account_id
type
- DIVIDENDamount
- price * quantity - taxcurrency
- stock's currencydate
- date of the dividendcorrelation_id
- id of the DIVIDENDStockTransaction
Remember to check if stock or account needs rebuilding.
Waiting for:
69
59