You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
例如:SZSE.000831 日线2023-03-29这个底分型会出现重复。
是否可以将原来的 @Property
def fx_list(self) -> List[FX]:
"""分型列表,包括 bars_ubi 中的分型"""
fxs = []
for bi_ in self.bi_list:
fxs.extend(bi_.fxs[1:])
ubi = self.ubi_fxs
for x in ubi: if not fxs or x.dt > fxs[-1].raw_bars[0].dt:
fxs.append(x)
return fxs
修改成 @Property
def fx_list(self) -> List[FX]:
"""分型列表,包括 bars_ubi 中的分型"""
fxs = []
for bi_ in self.bi_list:
fxs.extend(bi_.fxs[1:])
ubi = self.ubi_fxs
for x in ubi: if not fxs or x.dt > fxs[-1].dt:
fxs.append(x)
return fxs
The text was updated successfully, but these errors were encountered:
例如:SZSE.000831 日线2023-03-29这个底分型会出现重复。
是否可以将原来的
@Property
def fx_list(self) -> List[FX]:
"""分型列表,包括 bars_ubi 中的分型"""
fxs = []
for bi_ in self.bi_list:
fxs.extend(bi_.fxs[1:])
ubi = self.ubi_fxs
for x in ubi:
if not fxs or x.dt > fxs[-1].raw_bars[0].dt:
fxs.append(x)
return fxs
修改成
@Property
def fx_list(self) -> List[FX]:
"""分型列表,包括 bars_ubi 中的分型"""
fxs = []
for bi_ in self.bi_list:
fxs.extend(bi_.fxs[1:])
ubi = self.ubi_fxs
for x in ubi:
if not fxs or x.dt > fxs[-1].dt:
fxs.append(x)
return fxs
The text was updated successfully, but these errors were encountered: