1 line
20 KiB
JSON
1 line
20 KiB
JSON
{"nodes": [{"id": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_server_final_fixed_py", "label": "test_server_final_fixed.py", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L1"}, {"id": "backtest_test_server_final_fixed_run_strategy_backtest", "label": "run_strategy_backtest()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L56"}, {"id": "backtest_test_server_final_fixed_main", "label": "main()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L136"}], "edges": [{"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_server_final_fixed_py", "target": "sys", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L6", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_server_final_fixed_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L7", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_server_final_fixed_py", "target": "types", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L17", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_server_final_fixed_py", "target": "vnpy_ctastrategy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L32", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_server_final_fixed_py", "target": "vnpy_ctabacktester", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L38", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_server_final_fixed_py", "target": "vnpy_event", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L50", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_server_final_fixed_py", "target": "vnpy_trader_engine", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L51", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_server_final_fixed_py", "target": "traceback", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L52", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_server_final_fixed_py", "target": "zmq", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L53", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_server_final_fixed_py", "target": "time", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L54", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_server_final_fixed_py", "target": "backtest_test_server_final_fixed_run_strategy_backtest", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L56", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_server_final_fixed_py", "target": "backtest_test_server_final_fixed_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L136", "weight": 1.0}, {"source": "backtest_test_server_final_fixed_main", "target": "backtest_test_server_final_fixed_run_strategy_backtest", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L166", "weight": 1.0}], "raw_calls": [{"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L59"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "exec", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L63"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "globals", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L63"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "items", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L67"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "isinstance", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L68"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "issubclass", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L68"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L78"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "EventEngine", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L81"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "MainEngine", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L82"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "add_app", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L85"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L90"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L98"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L99"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L100"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L101"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L102"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L105"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "init_engine", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L108"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "run_backtesting", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L111"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "get_result_statistics", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L117"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L119"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "list", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L119"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "keys", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L119"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "get_all_trades", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L123"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "to_dict", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L124"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "get_daily_df", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L124"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "hasattr", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L124"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "str", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L129"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "format_exc", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L130"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L132"}, {"caller_nid": "backtest_test_server_final_fixed_run_strategy_backtest", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L133"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L138"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "Context", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L141"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "socket", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L142"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "bind", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L146"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L148"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L149"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L150"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L151"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L152"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "recv_pyobj", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L158"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L159"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L159"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L161"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L162"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "get", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L163"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "send_pyobj", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L171"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L172"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "str", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L176"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "format_exc", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L177"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "send_pyobj", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L179"}, {"caller_nid": "backtest_test_server_final_fixed_main", "callee": "print", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_server_final_fixed.py", "source_location": "L180"}]} |