changed default_conf_usdt stake_amount to 10

This commit is contained in:
Sam Germain 2021-09-26 10:18:22 -06:00
parent 6fdcf8cd73
commit ffa9a3ac7d
2 changed files with 3 additions and 3 deletions

View File

@ -381,7 +381,7 @@ def get_default_conf(testdatadir):
def get_default_conf_usdt(testdatadir):
configuration = get_default_conf(testdatadir)
configuration.update({
"stake_amount": 60.0,
"stake_amount": 10.0,
"stake_currency": "USDT",
})
return configuration

View File

@ -1260,7 +1260,7 @@ def test_handle_stoploss_on_exchange_trailing(mocker, default_conf_usdt, fee,
cancel_order_mock.assert_called_once_with(100, 'ETH/BTC')
stoploss_order_mock.assert_called_once_with(
amount=27.39726027,
amount=4.56621004,
pair='ETH/BTC',
order_types=freqtrade.strategy.order_types,
stop_price=4.4 * 0.95
@ -1451,7 +1451,7 @@ def test_handle_stoploss_on_exchange_custom_stop(
cancel_order_mock.assert_called_once_with(100, 'ETH/BTC')
stoploss_order_mock.assert_called_once_with(
amount=31.57894736,
amount=5.26315789,
pair='ETH/BTC',
order_types=freqtrade.strategy.order_types,
stop_price=4.4 * 0.96