1 line
8.7 KiB
JSON
1 line
8.7 KiB
JSON
{"nodes": [{"id": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_simple_backtest_v2_py", "label": "simple_backtest_v2.py", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L1"}, {"id": "backtest_simple_backtest_v2_teststrategy", "label": "TestStrategy", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L33"}, {"id": "ctatemplate", "label": "CtaTemplate", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "backtest_simple_backtest_v2_teststrategy_on_init", "label": ".on_init()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L38"}, {"id": "backtest_simple_backtest_v2_teststrategy_on_bar", "label": ".on_bar()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L42"}], "edges": [{"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_simple_backtest_v2_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/simple_backtest_v2.py", "source_location": "L6", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_simple_backtest_v2_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/simple_backtest_v2.py", "source_location": "L7", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_simple_backtest_v2_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/simple_backtest_v2.py", "source_location": "L18", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_simple_backtest_v2_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/simple_backtest_v2.py", "source_location": "L21", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_simple_backtest_v2_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/simple_backtest_v2.py", "source_location": "L25", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_simple_backtest_v2_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/simple_backtest_v2.py", "source_location": "L26", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_simple_backtest_v2_py", "target": "vnpy_trader_constant", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L27", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_simple_backtest_v2_py", "target": "vnpy_trader_database", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L28", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_simple_backtest_v2_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L29", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_simple_backtest_v2_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/simple_backtest_v2.py", "source_location": "L30", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_backtest_simple_backtest_v2_py", "target": "backtest_simple_backtest_v2_teststrategy", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L33", "weight": 1.0}, {"source": "backtest_simple_backtest_v2_teststrategy", "target": "ctatemplate", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L33", "weight": 1.0}, {"source": "backtest_simple_backtest_v2_teststrategy", "target": "backtest_simple_backtest_v2_teststrategy_on_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L38", "weight": 1.0}, {"source": "backtest_simple_backtest_v2_teststrategy", "target": "backtest_simple_backtest_v2_teststrategy_on_bar", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L42", "weight": 1.0}], "raw_calls": [{"caller_nid": "backtest_simple_backtest_v2_teststrategy_on_init", "callee": "write_log", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L39"}, {"caller_nid": "backtest_simple_backtest_v2_teststrategy_on_init", "callee": "load_bar", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L40"}, {"caller_nid": "backtest_simple_backtest_v2_teststrategy_on_bar", "callee": "write_log", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L45"}, {"caller_nid": "backtest_simple_backtest_v2_teststrategy_on_bar", "callee": "buy", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L48"}, {"caller_nid": "backtest_simple_backtest_v2_teststrategy_on_bar", "callee": "write_log", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L49"}, {"caller_nid": "backtest_simple_backtest_v2_teststrategy_on_bar", "callee": "sell", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L52"}, {"caller_nid": "backtest_simple_backtest_v2_teststrategy_on_bar", "callee": "abs", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L52"}, {"caller_nid": "backtest_simple_backtest_v2_teststrategy_on_bar", "callee": "write_log", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/backtest/simple_backtest_v2.py", "source_location": "L53"}]} |