From a0fa6abcdcd2ed6e8eaebc4dc44e27fa8fd4c912 Mon Sep 17 00:00:00 2001 From: gcarq Date: Thu, 9 Nov 2017 20:26:52 +0100 Subject: [PATCH] use in-memory db for dry_run --- freqtrade/persistence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/persistence.py b/freqtrade/persistence.py index 724ad7dcb..b5ec4c0ec 100644 --- a/freqtrade/persistence.py +++ b/freqtrade/persistence.py @@ -29,7 +29,7 @@ def init(config: dict, db_url: Optional[str] = None) -> None: _CONF.update(config) if not db_url: if _CONF.get('dry_run', False): - db_url = 'sqlite:///tradesv3.dry_run.sqlite' + db_url = 'sqlite://' else: db_url = 'sqlite:///tradesv3.sqlite'