Change net_gain to Net_profit so it makes sense
This commit is contained in:
parent
68e4e50d19
commit
56e4b3e45b
@ -257,13 +257,13 @@ async def calculate_trade_profies(commodity, scu=None):
|
||||
inline=True,
|
||||
)
|
||||
|
||||
net_gain = float(profits[max(profits, key=profits.get)]) - float(
|
||||
net_profit = float(profits[max(profits, key=profits.get)]) - float(
|
||||
costs[min(costs, key=costs.get)]
|
||||
)
|
||||
|
||||
embed.add_field(
|
||||
name="**Net Gain**",
|
||||
value="$%s" % "{:20,.2f}".format(net_gain).strip(),
|
||||
name="**Net Profit**",
|
||||
value="$%s" % "{:20,.2f}".format(net_profit).strip(),
|
||||
inline=True,
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user