Calculate profit in XMR
This commit is contained in:
@@ -239,7 +239,7 @@ class LinkGroupSimulation(LoginRequiredMixin, OTPRequiredMixin, ObjectRead):
|
||||
print("COLLAPSED", collapsed)
|
||||
self.extra_context = {"collapsed": collapsed}
|
||||
self.extra_context["pay_list"] = pay_list
|
||||
self.extra_context["total_profit"] = checks["total_profit"]
|
||||
self.extra_context["total_profit"] = checks["total_profit_in_xmr"]
|
||||
return pay_list
|
||||
|
||||
|
||||
|
||||
@@ -29,9 +29,11 @@ class Profit(LoginRequiredMixin, OTPRequiredMixin, ObjectRead):
|
||||
"Open trade value": res["open_trade_value"],
|
||||
"Total": res["total_with_trades"],
|
||||
"Profit": res["total_profit"],
|
||||
"Profit in XMR": res["total_profit_in_xmr"],
|
||||
"Remaining before withdrawal": res["total_remaining"],
|
||||
"Total (without open trades)": res["total_usd"],
|
||||
"Profit (without open trades)": res["profit"],
|
||||
"Profit (without open trades) in XMR": res["profit_in_xmr"],
|
||||
"Remaining before withdrawal (without open trades)": res["remaining"],
|
||||
"Base balance required": res["total_base_usd"],
|
||||
"Amount above base balance to trigger withdrawal": res[
|
||||
|
||||
Reference in New Issue
Block a user