mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
Run price_to_precision for dry-run orders
This commit is contained in:
parent
1ac81aa316
commit
a1e4fbf313
|
@ -1019,7 +1019,8 @@ class Exchange:
|
|||
time_in_force: str = 'gtc',
|
||||
) -> Dict:
|
||||
if self._config['dry_run']:
|
||||
dry_order = self.create_dry_run_order(pair, ordertype, side, amount, rate, leverage)
|
||||
dry_order = self.create_dry_run_order(
|
||||
pair, ordertype, side, amount, self.price_to_precision(pair, rate), leverage)
|
||||
return dry_order
|
||||
|
||||
params = self._get_params(side, ordertype, leverage, reduceOnly, time_in_force)
|
||||
|
|
Loading…
Reference in New Issue
Block a user