summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/trading/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/trading/models.py b/app/trading/models.py
index 17a1b85..63d094b 100644
--- a/app/trading/models.py
+++ b/app/trading/models.py
@@ -408,11 +408,11 @@ class LuxOptionPurchase(models.Model):
@property
def total_invested(self):
- return round(self.get_contract_count()*(self.luxoptioncontract_set.first().contract_open_price*100))
+ return self.get_contract_count()*(self.luxoptioncontract_set.first().contract_open_price*100)
@property
def trade_risk(self):
- return round(self.total_invested*.25)
+ return self.total_invested*.25
@property
def portfolio_risk(self):