add Investment.description field
This commit is contained in:
parent
9a176bde5f
commit
47c2257490
1 changed files with 8 additions and 7 deletions
|
|
@ -158,13 +158,14 @@ class Investment(BaseObject):
|
|||
Investment in a financial market.
|
||||
"""
|
||||
|
||||
label = StringField('Label of stocks')
|
||||
code = StringField('Short code identifier of the stock')
|
||||
quantity = IntField('Quantity of stocks')
|
||||
unitprice = DecimalField('Buy price of one stock')
|
||||
unitvalue = DecimalField('Current value of one stock')
|
||||
valuation = DecimalField('Total current valuation of the Investment')
|
||||
diff = DecimalField('Difference between the buy cost and the current valuation')
|
||||
label = StringField('Label of stocks')
|
||||
code = StringField('Short code identifier of the stock')
|
||||
description = StringField('Description of the stock')
|
||||
quantity = IntField('Quantity of stocks')
|
||||
unitprice = DecimalField('Buy price of one stock')
|
||||
unitvalue = DecimalField('Current value of one stock')
|
||||
valuation = DecimalField('Total current valuation of the Investment')
|
||||
diff = DecimalField('Difference between the buy cost and the current valuation')
|
||||
|
||||
|
||||
class Transfer(BaseObject):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue