use in-memory db for dry_run
This commit is contained in:
parent
86501b43c0
commit
a0fa6abcdc
@ -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'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user