Closed dawids21 closed 11 months ago
Add fields to StockTransaction:
StockTransaction
pay_currency
exchange_rate
The new fields have no effect on the StockBalance view.
StockBalance
The new fields are optional which means that if we won't provide them we assume that pay_currency = stock currency and exchange_rate = 1.
When adding the corresponding AccountTransaction we should set the currency to pay_currency and the amount to quantity price exchange_rate
AccountTransaction
quantity
price
Waiting for:
Add fields to
StockTransaction
:pay_currency
: string optionalexchange_rate
: numeric, optional toStockTransaction
The new fields have no effect on the
StockBalance
view.The new fields are optional which means that if we won't provide them we assume that
pay_currency
= stock currency andexchange_rate
= 1.When adding the corresponding
AccountTransaction
we should set the currency topay_currency
and the amount toquantity
price
exchange_rate
Waiting for:
31
29