Change net_gain to Net_profit so it makes sense

This commit is contained in:
Luke Robles 2023-06-14 14:03:18 -07:00
parent 68e4e50d19
commit 56e4b3e45b

View File

@ -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,
)