mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Quick import/clarity fix
This commit is contained in:
parent
e4e75d4861
commit
21ab83163d
|
@ -29,10 +29,7 @@ from tests.conftest_trades import (
|
|||
mock_trade_3,
|
||||
mock_trade_4,
|
||||
mock_trade_5,
|
||||
mock_trade_6,
|
||||
mock_trade_7,
|
||||
mock_trade_8,
|
||||
mock_trade_9)
|
||||
mock_trade_6)
|
||||
from tests.conftest_trades_usdt import (mock_trade_usdt_1, mock_trade_usdt_2, mock_trade_usdt_3,
|
||||
mock_trade_usdt_4, mock_trade_usdt_5, mock_trade_usdt_6)
|
||||
from tests.conftest_trades_tags import (mock_trade_tags_1, mock_trade_tags_2, mock_trade_tags_3)
|
||||
|
|
|
@ -885,11 +885,11 @@ def test_buy_tag_performance_handle2(mocker, default_conf, markets, fee):
|
|||
)
|
||||
|
||||
freqtradebot = get_patched_freqtradebot(mocker, default_conf)
|
||||
create_mock_trades_tags(fee)
|
||||
#create_mock_trades(fee) #this works
|
||||
create_mock_trades_tags(fee) #this doesn't
|
||||
rpc = RPC(freqtradebot)
|
||||
|
||||
trades = Trade.query.all()
|
||||
print(str(trades[0].buy_tag))
|
||||
|
||||
res = rpc._rpc_performance()
|
||||
print(res)
|
||||
|
|
Loading…
Reference in New Issue
Block a user