refactor symbol and executor

This commit is contained in:
Ichinga Samuel
2023-10-24 13:59:28 +01:00
parent 21043dd326
commit aa39fdf033
14 changed files with 214 additions and 13 deletions
+13
View File
@@ -0,0 +1,13 @@
from aiomql import config
from . import get_config, get_default_config
def test_default_config_file(get_default_config):
conf = config.Config()
assert conf.win_percentage == 0.90
def test_config_file_name(get_config):
conf = config.Config(filename='config.json')
assert conf.win_percentage == 0.8