diff --git a/freqtrade/main.py b/freqtrade/main.py index afbb84ec4..e6cb7ff0b 100755 --- a/freqtrade/main.py +++ b/freqtrade/main.py @@ -264,12 +264,20 @@ def create_trade(stake_amount: float) -> bool: amount = stake_amount / buy_limit order_id = exchange.buy(pair, buy_limit, amount) + + fiat_converter = CryptoToFiatConverter() + stake_amount_fiat = fiat_converter.convert_amount( + stake_amount, + _CONF['stake_currency'], + _CONF['fiat_display_currency'] + ) + # Create trade entity and return - rpc.send_msg('*{}:* Buying [{}]({}) with limit `{:.8f}`'.format( + rpc.send_msg('*{}:* Buying [{}]({}) with limit `{:.8f}` ({:8.f} BTC, {:3.f} {})'.format( exchange.get_name().upper(), pair.replace('_', '/'), exchange.get_pair_detail_url(pair), - buy_limit + buy_limit, stake_amount, stake_amount_fiat, _CONF['fiat_display_currency'] )) # Fee is applied twice because we make a LIMIT_BUY and LIMIT_SELL trade = Trade(