Add a code string for stocks
This commit is contained in:
parent
17ddb8a57b
commit
94830f7510
1 changed files with 1 additions and 0 deletions
|
|
@ -154,6 +154,7 @@ class Investment(CapBaseObject):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
label = StringField('Label of stocks')
|
label = StringField('Label of stocks')
|
||||||
|
code = StringField('Short code identifier of the stock')
|
||||||
quantity = IntField('Quantity of stocks')
|
quantity = IntField('Quantity of stocks')
|
||||||
unitprice = DecimalField('Buy price of one stock')
|
unitprice = DecimalField('Buy price of one stock')
|
||||||
unitvalue = DecimalField('Current value of one stock')
|
unitvalue = DecimalField('Current value of one stock')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue