This commit is contained in:
Torma Kristóf 2020-11-20 00:07:19 +01:00
parent c25d7fb13e
commit 3536ff67da
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -61,11 +61,13 @@ class Sim:
results = {}
folder = 'Strats'
sys.path.append(folder)
strats = os.listdir(folder)
strats_py = [x.split('.')[0] for x in strats if x.split('.')[-1] == "py"]
# strats_py=['tut_mymy']
for _ in range(10):
events = eg.event_gen(2000)
"""
@ -94,7 +96,9 @@ for _ in range(10):
results[strat] = 0
results[strat] += sim.budget
for key in results:
results[key] /= 10.0
print(results)