A draft of the "Quick Start" section for your README. Enable logging of backtesting in Qlib and store rich-text descriptions in Trace. Support one-step debugging for factor extraction. (#105)

- A draft of the "Quick Start" section for your README. 
- Enable logging of backtesting in Qlib and store rich-text descriptions in Trace. 
- Support one-step debugging for factor extraction.
This commit is contained in:
WinstonLiyt
2024-07-25 16:18:00 +08:00
committed by Young
parent e10e7f0e59
commit 25fb571a0f
11 changed files with 252 additions and 104 deletions
+2 -1
View File
@@ -60,5 +60,6 @@ class RDLoop(LoopBase, metaclass=LoopMeta):
def feedback(self, prev_out: dict[str, Any]):
feedback = self.summarizer.generate_feedback(prev_out["running"], prev_out["propose"], self.trace)
logger.log_object(feedback, tag="feedback")
with logger.tag("ef"): # evaluate and feedback
logger.log_object(feedback, tag="feedback")
self.trace.hist.append((prev_out["propose"],prev_out["running"] , feedback))