This commit is contained in:
David Brazda
2023-10-15 21:19:01 +02:00
parent 7c1bba028b
commit 859975d169
2 changed files with 3 additions and 3 deletions

View File

@ -379,7 +379,7 @@ def run_batch_stratin(id: UUID, runReq: RunRequest):
end_time = zoneNY.localize(datetime.fromisoformat(intrvl.end))
cal_list.append(RunDay(start = start_time, end = end_time, note=intrvl.note, id=testlist.id))
print(f"Getting intervals - RESULT: {cal_list}")
print(f"Getting intervals - RESULT ({len(cal_list)}): {cal_list}")
#sem getting dates
else:
#getting dates from calendat
@ -415,7 +415,7 @@ def run_batch_stratin(id: UUID, runReq: RunRequest):
end_time = runReq.bt_to
cal_list.append(RunDay(start = start_time, end = end_time))
print(f"Getting interval dates from - to - RESULT: {cal_list}")
print(f"Getting interval dates from - to - RESULT ({len(cal_list)}): {cal_list}")
#spousti se vlakno s paralelnim behem a vracime ok
ridici_vlakno = Thread(target=batch_run_manager, args=(id, runReq, cal_list), name=f"Batch run control thread started.")

View File

@ -54,7 +54,7 @@ var indConfig_default = [ {name: "ema", titlevisible: false, embed: true, displa
{name: "ppo", titlevisible: true, embed: true, display: true, priceScaleId: "middle", lastValueVisible: false},
{name: "stoch2", titlevisible: true, embed: true, display: true, priceScaleId: "middle", lastValueVisible: false},
{name: "sec_price", titlevisible: true, embed: true, display: true, priceScaleId: "right", lastValueVisible: false},]
console.log(JSON.stringify(indConfig_default, null,null, 2))
//console.log(JSON.stringify(indConfig_default, null,null, 2))
function initialize_statusheader() {