DeepFund icon indicating copy to clipboard operation
DeepFund copied to clipboard

ERROR - Error creating config: 'planner_mode'

Open chendingyan opened this issue 1 year ago • 1 comments

I followed the step from Readme.md, and run the command like :

python main.py --config config/provider/qwen.yaml --trading-date 2023-10-01

But it turns out a error in getting config_id INFO - Creating new config for qwen-test ERROR - Error creating config: 'planner_mode' Traceback (most recent call last): File "/Users/mikechen/PycharmProjects/DeepFund/src/main.py", line 56, in <module> main() File "/Users/mikechen/PycharmProjects/DeepFund/src/main.py", line 38, in main config_id = load_portfolio_config(cfg, db) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/mikechen/PycharmProjects/DeepFund/src/main.py", line 19, in load_portfolio_config raise RuntimeError(f"Failed to create config for {cfg['exp_name']}") RuntimeError: Failed to create config for qwen-test

I use SUPABASE DB, and already fill the API URL, KEY, ALPHA_VANTAGE_API_KEI and QWEN_API_KEY

chendingyan avatar May 15 '25 07:05 chendingyan

Hi, thanks for the comment. I have reproduced the same error you encountered and made a quick fix #34. Please pull the repo again.

Btw, I noticed you are testing with a bit old date (2023-10-01). As we are aiming to evaluate LLMs with more recent financial data, the framework should better fit the recent dates (see within 3-month data).

tigerlcl avatar May 15 '25 09:05 tigerlcl