mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-08 20:47:44 +00:00
fix: qlib and other scenario bugs (#636)
* fix qlib and other scenario bugs * bug fix
This commit is contained in:
@@ -117,7 +117,7 @@ class FactorFBWorkspace(FBWorkspace):
|
||||
- The cached information will include a tuple with the following: (execution_feedback, executed_factor_value_dataframe, Optional[Exception])
|
||||
|
||||
"""
|
||||
super().execute()
|
||||
self.before_execute()
|
||||
if self.file_dict is None or "factor.py" not in self.file_dict:
|
||||
if self.raise_exception:
|
||||
raise CodeFormatError(self.FB_CODE_NOT_SET)
|
||||
|
||||
@@ -97,7 +97,7 @@ class ModelFBWorkspace(FBWorkspace):
|
||||
input_value: float = 1.0,
|
||||
param_init_value: float = 1.0,
|
||||
):
|
||||
super().execute()
|
||||
self.before_execute()
|
||||
try:
|
||||
qtde = QTDockerEnv() if self.target_task.version == 1 else KGDockerEnv()
|
||||
qtde.prepare()
|
||||
|
||||
Reference in New Issue
Block a user