Saving logs+data to dir. fixes

This commit is contained in:
2025-05-22 14:27:04 +03:00
parent e9d10af8da
commit b1835e2f72
12 changed files with 198 additions and 62 deletions

View File

@ -7,10 +7,10 @@ from random import randint
startTime = None
def setStartTime():
global startTime
startTime = time.time()
def getPnL(pair):
PnL = 0.0
with open("tradingLog.log", "r") as f:
lines = f.readlines()