@ -238,7 +238,11 @@ def get_precision(account, symbol):
display_precision = instrument["displayPrecision"]
return (trade_precision, display_precision)
except KeyError:
# sendmsg(user, f"Precision not found for {symbol}", title="Error")
sendmsg(
account.user,
f"Precision not found for {symbol} from {instrument}",
title="Error",
)
log.error(f"Precision not found for {symbol} from {instrument}")
return (None, None)