Merge pull request #1707 from mishaker/telegram_msg

Telegram status message refactoring
This commit is contained in:
Matthias
2019-03-28 19:45:48 +01:00
committed by GitHub
4 changed files with 28 additions and 13 deletions

View File

@@ -59,6 +59,7 @@ def test_rpc_trade_status(default_conf, ticker, fee, markets, mocker) -> None:
'amount': 90.99181074,
'close_profit': None,
'current_profit': -0.59,
'stop_loss': 0.0,
'open_order': '(limit buy rem=0.00000000)'
} == results[0]
@@ -79,6 +80,7 @@ def test_rpc_trade_status(default_conf, ticker, fee, markets, mocker) -> None:
'amount': 90.99181074,
'close_profit': None,
'current_profit': ANY,
'stop_loss': 0.0,
'open_order': '(limit buy rem=0.00000000)'
} == results[0]