Merge pull request #6670 from freqtrade/store_asset

store base and quote currency separately in the database
This commit is contained in:
Matthias
2022-04-10 08:42:28 +02:00
committed by GitHub
12 changed files with 62 additions and 18 deletions

View File

@@ -184,7 +184,8 @@ def test_telegram_status(default_conf, update, mocker) -> None:
_rpc_trade_status=MagicMock(return_value=[{
'trade_id': 1,
'pair': 'ETH/BTC',
'base_currency': 'BTC',
'base_currency': 'ETH',
'quote_currency': 'BTC',
'open_date': arrow.utcnow(),
'close_date': None,
'open_rate': 1.099e-05,