Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FInancial COpilot to Qlib #1531

Draft
wants to merge 67 commits into
base: main
Choose a base branch
from
Draft

Add FInancial COpilot to Qlib #1531

wants to merge 67 commits into from

Commits on May 24, 2023

  1. Configuration menu
    Copy the full SHA
    7c4f3b8 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. Configuration menu
    Copy the full SHA
    f24253e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1527 from microsoft/xuyang1/add_openai_api_support

    add openai interface support
    peteryang1 committed May 30, 2023
    Configuration menu
    Copy the full SHA
    55611aa View commit details
    Browse the repository at this point in the history
  3. first round

    peteryangms committed May 30, 2023
    Configuration menu
    Copy the full SHA
    f376435 View commit details
    Browse the repository at this point in the history
  4. second commit

    peteryangms committed May 30, 2023
    Configuration menu
    Copy the full SHA
    2af35d9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ce39b4b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    74a5d7c View commit details
    Browse the repository at this point in the history

Commits on May 31, 2023

  1. remove tasktype variable

    peteryangms committed May 31, 2023
    Configuration menu
    Copy the full SHA
    94102fb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1528 from microsoft/xuyang1/refine_task_and_imple…

    …ment_workflow_task_as_example
    
    Xuyang1/refine task and implement workflow task as example
    peteryang1 committed May 31, 2023
    Configuration menu
    Copy the full SHA
    421b140 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3919678 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e7cd93a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    08d9dbc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e2332a0 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Merge pull request #1532 from microsoft/xuyang1/add-plan-and-config-t…

    …ask-implementation
    
    add the initial version of plan and config task implementation
    peteryang1 committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    cda32d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0515524 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1534 from microsoft/xuyang1/add_code_implementati…

    …on_task
    
    add code implementation task
    peteryang1 committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    d46b4c1 View commit details
    Browse the repository at this point in the history
  4. update code

    peteryangms committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    5f37f32 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1536 from microsoft/xuyang1/add_debug_mode_to_sav…

    …e_cache
    
    add a debug mode to speed up debug process
    peteryang1 committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    e376648 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    40e0c32 View commit details
    Browse the repository at this point in the history
  7. Optimize summarize task prompt and others (#1533)

    * 1.update prompt;
    2.update fetch information method.
    
    * 1.update prompt;
    2.save result to markdown;
    
    * 1.get context info from context_manager;
    2.run the entire process successfully.
    Fivele-Li committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    3b56b8e View commit details
    Browse the repository at this point in the history
  8. Init workspace and CMDTask (#1537)

    * Update setup.py and config
    
    * WIP
    
    * init_workspace and CMDTask
    
    * Delete test_sumarize.py
    you-n-g committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    73d51f0 View commit details
    Browse the repository at this point in the history
  9. Edit yaml task (#1538)

    * Edit yaml task
    
    * update comments
    you-n-g committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    ad7498e View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Add recorder task and visualize (#1542)

    * add recorder task
    
    * add batch generate summarize report unittest.
    
    * * add recorder to RecorderTask;
    * add matplot figure to analyzer.py
    
    * add image to markdown;
    
    * Add some log
    
    * update figure path.
    
    ---------
    
    Co-authored-by: Young <afe.young@gmail.com>
    Co-authored-by: Cadenza-Li <362237642@qq.com>
    3 people committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    1d88830 View commit details
    Browse the repository at this point in the history
  2. update code

    peteryangms committed Jun 12, 2023
    Configuration menu
    Copy the full SHA
    01accec View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. Configuration menu
    Copy the full SHA
    80fbc00 View commit details
    Browse the repository at this point in the history
  2. format

    peteryangms committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    429c9a7 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1548 from microsoft/xuyang1/add_dump_to_file_task

    add simple readme & move prompt templates to outer yaml file to make the code clean
    peteryang1 committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    fa7ef29 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7762c5a View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. remove useless prompt

    peteryangms committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    f9cc8a5 View commit details
    Browse the repository at this point in the history
  2. Optimize log and interact of FinCo (#1549)

    * use FinCoLog for a better interact experience
    
    * addition file changes
    
    * optimize format
    
    * optimize format
    Fivele-Li committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    1a523df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    74619ed View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1550 from microsoft/xuyang1/refine_task_prompts

    add datahandler and design action task according to component
    peteryang1 committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    a70386a View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Add analyser task and optimize interact (#1552)

    * * optimize interact
    * add AnalyserTask
    * optimize logger format and add render feature
    
    * format optimize
    Fivele-Li committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    f12184c View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2023

  1. Add docs to context and retrieve (#1566)

    * add analyser docstring to context;
    * add retrieve method to context manager;
    
    * add notes to retrieve
    Fivele-Li committed Jun 24, 2023
    Configuration menu
    Copy the full SHA
    1326ac6 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. Add backtest and backforward task (#1568)

    * * add TrainTask & BacktestTask;
    * add BackForwardTask;
    * adjust prompt_template.yaml which default config failed to backtest;
    * run workflow in loop
    * add update method to prompt_template.py
    
    * remove debug code
    
    * Adjust Learn Process
    * add LearnManager class & use LearnManager to update system prompt;
    * use qrun to replace recorder for training and backtesting;
    
    * Adjust analyser
    * analyser independent of recorder;
    * rename analyser's workspace attribution;
    * analyser load variable by recorder.
    
    ---------
    
    Co-authored-by: Cadenza-Li <362237642@qq.com>
    Fivele-Li and Cadenza-Li committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    7e84f3a View commit details
    Browse the repository at this point in the history
  2. merge into one commit

    peteryangms committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    73bd79c View commit details
    Browse the repository at this point in the history
  3. fix one workflow

    peteryangms committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    4fccf81 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1576 from microsoft/xuyang1/add_config_and_code_d…

    …ump_task
    
    refine workflow and prompts
    peteryang1 committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    9119bcd View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2023

  1. refine code to use qrun

    peteryangms committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    6cb87ec View commit details
    Browse the repository at this point in the history
  2. remove useless code

    peteryangms committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    ee5e5cf View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1580 from microsoft/xuyang1/refine_workflow_to_in…

    …crease_success_rate
    
    refine workflow to increase success rate
    peteryang1 committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    b7757d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. fix singleton bug

    peteryangms committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    9a36f8d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b0fdf1 View commit details
    Browse the repository at this point in the history
  3. rename & test

    you-n-g committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    aef1153 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2023

  1. Add knowledge module and tune summarizeTask (#1582)

    * Add knowledge module
    * add KnowledgeExperiment add KnowledgeBase;
    * add knowledge associate prompts to template;
    
    * Add Topic class
    * add Topic to summarize knowledge;
    * add recorder's metric to summarizeTask;
    
    ---------
    
    Co-authored-by: Cadenza-Li <362237642@qq.com>
    Fivele-Li and Cadenza-Li committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    86ffd17 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Optimize prompt for entire learn loop (#1589)

    * Adjust prompt and fix cases
    * adjust summarizeTask & learn prompts;
    * fix typos & drop duplicate task method;
    
    * adjust learn prompts;
    Fivele-Li committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    effed38 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. update knowledge module;

    * add storage class;
    * new practice,execute,finance,infrastructure knowledge;
    * add query method to KnowledgeBase;
    Cadenza-Li committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    d7ab693 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. update knowledge module;

    * Knowledge.storage to storages list;
    * optimize Knowledge & Storage save and load method;
    * optimize Knowledge query prompt;
    Cadenza-Li committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    37d83fd View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. Configuration menu
    Copy the full SHA
    51a9403 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9b6938 View commit details
    Browse the repository at this point in the history
  3. merge all commit (#1593)

    Co-authored-by: Xu Yang <xuyang1@microsoft.com>
    peteryang1 and peteryangms committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    e5f685c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    025859a View commit details
    Browse the repository at this point in the history
  5. Update test_utils.py

    you-n-g committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    a19e616 View commit details
    Browse the repository at this point in the history
  6. add KnowledgeBase to workflow;

    * Update CMDTask prompt example for Windows OS;
    * Windows OS decode output of subprocess in gbk by default, specify encoding format explict;
    * Add KnowledgeBase's 4 knowledge types to corresponding task;
    Fivele-Li committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    8a56cf6 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2023

  1. Merge pull request #1592 from Fivele-Li/update_knowledge_module

    update knowledge module;
    peteryang1 committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    5e0873c View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Connect TrainTask & Rolling & DDG-DA (#1599)

    * Connect train task to ddg-da & rolling
    
    * Pylint & black formatting
    
    * Formatting
    you-n-g committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    1c9841b View commit details
    Browse the repository at this point in the history
  2. Optimize KnowledgeBase to complete workflow (#1598)

    * optimize KnowledgeBase to complete workflow;
    * Update Knowledge methods of handle data IO;
    * Update task to handle multi recorders;
    * Integrate Knowledge to workflow;
    
    * optimize KnowledgeBase to complete workflow
    * Update TrainTask & AnalyseTask's recorder method;
    * Update SummarizeTask;
    * Update Workflow & Topic prompt;
    Fivele-Li committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    8c1905d View commit details
    Browse the repository at this point in the history
  3. Fix find class bug (#1601)

    you-n-g committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    b21e044 View commit details
    Browse the repository at this point in the history
  4. merge into one commit

    peteryangms committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    13c63ee View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1603 from microsoft/xuyang1/add_idea_task

    add idea task and round1
    peteryang1 committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    d909d54 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1c5a73a View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Configuration menu
    Copy the full SHA
    ce8cb51 View commit details
    Browse the repository at this point in the history
  2. Add prompt logger

    you-n-g committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    8eb1293 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. commit

    peteryangms committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    561086d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f93f331 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. Configuration menu
    Copy the full SHA
    70a066b View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. optimize log (#1612)

    Fivele-Li committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    5af99e1 View commit details
    Browse the repository at this point in the history