adjust tests for backtestresult type
This commit is contained in:
parent
c9476fade8
commit
17c0ceec04
@ -353,10 +353,10 @@ def test_generate_text_table(default_conf, mocker):
|
|||||||
|
|
||||||
results = pd.DataFrame(
|
results = pd.DataFrame(
|
||||||
{
|
{
|
||||||
'currency': ['ETH/BTC', 'ETH/BTC'],
|
'pair': ['ETH/BTC', 'ETH/BTC'],
|
||||||
'profit_percent': [0.1, 0.2],
|
'profit_percent': [0.1, 0.2],
|
||||||
'profit_BTC': [0.2, 0.4],
|
'profit_abs': [0.2, 0.4],
|
||||||
'duration': [10, 30],
|
'trade_duration': [10, 30],
|
||||||
'profit': [2, 0],
|
'profit': [2, 0],
|
||||||
'loss': [0, 0]
|
'loss': [0, 0]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user