dolgok
This commit is contained in:
parent
c25d7fb13e
commit
3536ff67da
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user