Use ccxt order format

This commit is contained in:
enenn
2018-03-13 22:29:22 +01:00
parent a6ce6ef2c4
commit 421cd76272
7 changed files with 48 additions and 31 deletions

View File

@@ -294,8 +294,9 @@ def test_exec_forcesell_open_orders(default_conf, ticker, mocker):
mocker.patch.multiple('freqtrade.main.exchange',
get_ticker=ticker,
get_order=MagicMock(return_value={
'closed': None,
'type': 'LIMIT_BUY',
'type': 'limit',
'side': 'buy',
'status': 'open'
}),
cancel_order=cancel_order_mock)
trade = Trade(