bugfix
This commit is contained in:
@ -379,7 +379,7 @@ def run_batch_stratin(id: UUID, runReq: RunRequest):
|
|||||||
end_time = zoneNY.localize(datetime.fromisoformat(intrvl.end))
|
end_time = zoneNY.localize(datetime.fromisoformat(intrvl.end))
|
||||||
cal_list.append(RunDay(start = start_time, end = end_time, note=intrvl.note, id=testlist.id))
|
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
|
#sem getting dates
|
||||||
else:
|
else:
|
||||||
#getting dates from calendat
|
#getting dates from calendat
|
||||||
@ -415,7 +415,7 @@ def run_batch_stratin(id: UUID, runReq: RunRequest):
|
|||||||
end_time = runReq.bt_to
|
end_time = runReq.bt_to
|
||||||
cal_list.append(RunDay(start = start_time, end = end_time))
|
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
|
#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.")
|
ridici_vlakno = Thread(target=batch_run_manager, args=(id, runReq, cal_list), name=f"Batch run control thread started.")
|
||||||
|
|||||||
@ -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: "ppo", titlevisible: true, embed: true, display: true, priceScaleId: "middle", lastValueVisible: false},
|
||||||
{name: "stoch2", 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},]
|
{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() {
|
function initialize_statusheader() {
|
||||||
|
|||||||
Reference in New Issue
Block a user