bugfix a zakomentovan IC a podporen format f

This commit is contained in:
David Brazda
2023-04-23 21:21:06 +02:00
parent 83a7bb77da
commit 541aaa4ab8
25 changed files with 185 additions and 175 deletions

6
testy/fformat.py Normal file
View File

@ -0,0 +1,6 @@
d= 1
a = f"neco {d=} a nebo takhle {float(d)}"
print(a)

View File

@ -56,14 +56,14 @@ for day in cal_dates:
#odesíláme do queue
#jinak pass
else:
ic("cache not exists")
##"cache not exists")
#denni file není - loadujeme den z Alpacy
#ukládáme do cache s daily_file jako název
#pokud jde o dnešní den a nebyl konec trhu tak cache neukládáme
if datetime.now() < day.close:
print("not saving the cache, market still open today")
ic(datetime.now())
ic(day.close)
#ic(datetime.now())
#ic(day.close)
else:
pass
#save to daily cache file curr_dir+'/'+daily_file