Saving logs+data to dir. fixes
This commit is contained in:
@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user