|
|
|
@ -31,11 +31,11 @@ class Notify(object):
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
def notify_new_trade(self, amount, currency):
|
|
|
|
|
amount_usd = self.agora.to_usd(amount, currency)
|
|
|
|
|
amount_usd = self.money.to_usd(amount, currency)
|
|
|
|
|
self.sendmsg(f"Total: {amount_usd}", title="New trade", tags="trades", priority="2")
|
|
|
|
|
|
|
|
|
|
def notify_complete_trade(self, amount, currency):
|
|
|
|
|
amount_usd = self.agora.to_usd(amount, currency)
|
|
|
|
|
amount_usd = self.money.to_usd(amount, currency)
|
|
|
|
|
self.sendmsg(f"Total: {amount_usd}", title="Trade complete", tags="trades,profit", priority="3")
|
|
|
|
|
|
|
|
|
|
def notify_withdrawal(self, amount_usd):
|
|
|
|
|