mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-08-08 12:37:44 +00:00
363f616aae
* Init todo * update all code * update * Extract factors from financial reports loop finished * Fix two small bugs. * Delete rdagent/app/qlib_rd_loop/run_script.sh * Minor mod * Delete rdagent/app/qlib_rd_loop/nohup.out * Fix a small bug in file reading. * some updates * Update the detailed process and prompt of factor loop. * Evaluation & dataset * Optimize the prompt for generating hypotheses and feedback in the factor loop. * Generate new data * dataset generation * Performed further optimizations on the factor loop and report extraction loop, added log handling for both processes, and implemented a screenshot feature for report extraction. * Update rdagent/components/coder/factor_coder/CoSTEER/evaluators.py * Update package.txt for fitz. * add the result * Performed further optimizations on the factor loop and report extraction loop, added log handling for both processes, and implemented a screenshot feature for report extraction. (#100) (#102) - Performed further optimizations on the factor loop and report extraction loop. - Added log handling for both processes. - Implemented a screenshot feature for report extraction. * Analysis * Optimized log output. * Factor update * A draft of the "Quick Start" section for README * Add scenario descriptions. * Updates * Adjust content * Enable logging of backtesting in Qlib and store rich-text descriptions in Trace. Support one-step debugging for factor extraction. * Reformat analysis.py * CI fix * Refactor * remove useless code * fix bugs (#111) * Fix two small bugs. * Fix a merge bug. * Fix two small bugs. * fix some bugs. * Fix some format bugs. * Restore a file. * Fix a format bug. * draft renew of evaluators * fix a small bug. * fix a small bug * Support Factor Report Loop * Update framework for extracting factors from research reports. * Refactor report-based factor extraction and fix minor bugs. * fix a small bug of log. * change some prompts * improve factor_runner * fix a small bug * change some prompts * cancel some comments * cancel some comments and fix some bugs --------- Co-authored-by: Young <afe.young@gmail.com> Co-authored-by: you-n-g <you-n-g@users.noreply.github.com> Co-authored-by: Taozhi Wang <taozhi.mark.wang@gmail.com> Co-authored-by: Suhan Cui <51844791+SH-Src@users.noreply.github.com>
44 lines
2.8 KiB
YAML
44 lines
2.8 KiB
YAML
hypothesis_gen:
|
|
system_prompt: |-
|
|
The user is trying to generate new hypothesis on the {{targets}} in data-driven research and development.
|
|
The {{targets}} are used in a certain scenario, the scenario is as follows:
|
|
{{ scenario }}
|
|
The user has made several hypothesis on this scenario and did several evaluation on them. The user will provide this information to you. Check if a new hypothesis has already been proposed. If it is already generated and you agree with it, just use it. If you don't agree, generate a better one.
|
|
To help you generate new hypothesis, the user has prepared some additional information for you. You should use this information to help generate new {{targets}}.
|
|
Please generate the output following the format and specifications below:
|
|
{{ hypothesis_output_format }}
|
|
Here are the specifications: {{ hypothesis_specification }}
|
|
|
|
user_prompt: |-
|
|
The user has made several hypothesis on this scenario and did several evaluation on them.
|
|
The former hypothesis and the corresponding feedbacks are as follows (focus on the last one & the new hypothesis that it provides and reasoning to see if you agree):
|
|
{{ hypothesis_and_feedback }}
|
|
To help you generate new {{targets}}, we have prepared the following information for you:
|
|
{{ RAG }}
|
|
Please generate the new hypothesis based on the information above. Also generate the relevant keys for the reasoning and the distilled knowledge that follows.
|
|
|
|
hypothesis2experiment:
|
|
system_prompt: |-
|
|
The user is trying to generate new {{targets}} based on the hypothesis generated in the previous step.
|
|
The {{targets}} are used in certain scenario, the scenario is as follows:
|
|
{{ scenario }}
|
|
The user will use the {{targets}} generated to do some experiments. The user will provide this information to you:
|
|
1. The target hypothesis you are targeting to generate {{targets}} for.
|
|
2. The hypothesis generated in the previous steps and their corresponding feedbacks.
|
|
3. Former proposed {{targets}} on similar hypothesis.
|
|
4. Some additional information to help you generate new {{targets}}.
|
|
Please generate the output following the format below:
|
|
{{ experiment_output_format }}
|
|
|
|
user_prompt: |-
|
|
The user has made several hypothesis on this scenario and did several evaluation on them.
|
|
The target hypothesis you are targeting to generate {{targets}} for is as follows:
|
|
{{ target_hypothesis }}
|
|
The former hypothesis and the corresponding feedbacks are as follows:
|
|
{{ hypothesis_and_feedback }}
|
|
The former proposed {{targets}} on similar hypothesis are as follows:
|
|
{{ target_list }}
|
|
To help you generate new {{targets}}, we have prepared the following information for you:
|
|
{{ RAG }}
|
|
Please generate the new {{targets}} based on the information above.
|