Files
sanguo_vnpy/graphify-out/cache/ast/3bb25c56ece4ddaf9c30e2eb4387087be0132b7788b6a746c6246f41c78ef86d.json
T
2026-05-06 23:12:48 +08:00

1 line
16 KiB
JSON

{"nodes": [{"id": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_fixed_v3_py", "label": "test_fixed_v3.py", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_fixed_v3.py", "source_location": "L1"}, {"id": "backtest_test_fixed_v3_test_run_strategy_backtest", "label": "test_run_strategy_backtest()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_fixed_v3.py", "source_location": "L133"}], "edges": [{"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_fixed_v3_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_fixed_v3.py", "source_location": "L97", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_fixed_v3_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_fixed_v3.py", "source_location": "L98", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_fixed_v3_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_fixed_v3.py", "source_location": "L111", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_fixed_v3_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_fixed_v3.py", "source_location": "L117", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_fixed_v3_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_fixed_v3.py", "source_location": "L123", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_fixed_v3_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_fixed_v3.py", "source_location": "L124", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_fixed_v3_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_fixed_v3.py", "source_location": "L125", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_fixed_v3_py", "target": "inspect", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_fixed_v3.py", "source_location": "L128", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_test_fixed_v3_py", "target": "backtest_test_fixed_v3_test_run_strategy_backtest", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_fixed_v3.py", "source_location": "L133", "weight": 1.0}], "raw_calls": [{"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L135"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L138"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L138"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L141"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L142"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L142"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L149"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L154"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L155"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L156"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L157"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L158"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L161"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L162"}, {"caller_nid": "backtest_test_fixed_v3_test_run_strategy_backtest", "callee": "BacktesterEngine", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_fixed_v3.py", "source_location": "L163"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L164"}, {"caller_nid": "backtest_test_fixed_v3_test_run_strategy_backtest", "callee": "type", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_fixed_v3.py", "source_location": "L164"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L166"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L167"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L168"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L171"}, {"caller_nid": "backtest_test_fixed_v3_test_run_strategy_backtest", "callee": "len", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_fixed_v3.py", "source_location": "L172"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L174"}, {"caller_nid": "backtest_test_fixed_v3_test_run_strategy_backtest", "callee": "len", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_fixed_v3.py", "source_location": "L175"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L179"}, {"caller_nid": "backtest_test_fixed_v3_test_run_strategy_backtest", "callee": "signature", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/test_fixed_v3.py", "source_location": "L179"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L186"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L187"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L188"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L189"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L190"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L193"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L194"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L197"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L199"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L201"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L202"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L202"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L202"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L204"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L205"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L206"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L210"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L220"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L220"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L221"}, {"caller_nid": "backtest_test_fixed_v3_test_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_fixed_v3.py", "source_location": "L222"}]}