Merge pull request #8386 from freqtrade/feature/price_to_precision_round

price to precision rounding
This commit is contained in:
Matthias
2023-03-31 07:20:10 +02:00
committed by GitHub
13 changed files with 145 additions and 88 deletions
+1 -1
View File
@@ -1671,7 +1671,7 @@ def test_stoploss_on_exchange_price_rounding(
EXMS,
get_fee=fee,
)
price_mock = MagicMock(side_effect=lambda p, s: int(s))
price_mock = MagicMock(side_effect=lambda p, s, **kwargs: int(s))
stoploss_mock = MagicMock(return_value={'id': '13434334'})
adjust_mock = MagicMock(return_value=False)
mocker.patch.multiple(