1 line
8.8 KiB
JSON
1 line
8.8 KiB
JSON
{"nodes": [{"id": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_rpc_test_simple_strategy_py", "label": "test_simple_strategy.py", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L1"}, {"id": "rpc_test_simple_strategy_simpleteststrategy", "label": "SimpleTestStrategy", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L12"}, {"id": "ctatemplate", "label": "CtaTemplate", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "rpc_test_simple_strategy_simpleteststrategy_init", "label": ".__init__()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L28"}, {"id": "rpc_test_simple_strategy_simpleteststrategy_on_init", "label": ".on_init()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L37"}, {"id": "rpc_test_simple_strategy_simpleteststrategy_on_start", "label": ".on_start()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L43"}, {"id": "rpc_test_simple_strategy_simpleteststrategy_on_stop", "label": ".on_stop()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L47"}, {"id": "rpc_test_simple_strategy_simpleteststrategy_on_tick", "label": ".on_tick()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L51"}, {"id": "rpc_test_simple_strategy_simpleteststrategy_on_bar", "label": ".on_bar()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L55"}], "edges": [{"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_rpc_test_simple_strategy_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/rpc/test_simple_strategy.py", "source_location": "L1", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_vnpy_archive_2026_04_29_cleanup_test_rpc_test_simple_strategy_py", "target": "rpc_test_simple_strategy_simpleteststrategy", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L12", "weight": 1.0}, {"source": "rpc_test_simple_strategy_simpleteststrategy", "target": "ctatemplate", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L12", "weight": 1.0}, {"source": "rpc_test_simple_strategy_simpleteststrategy", "target": "rpc_test_simple_strategy_simpleteststrategy_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L28", "weight": 1.0}, {"source": "rpc_test_simple_strategy_simpleteststrategy", "target": "rpc_test_simple_strategy_simpleteststrategy_on_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L37", "weight": 1.0}, {"source": "rpc_test_simple_strategy_simpleteststrategy", "target": "rpc_test_simple_strategy_simpleteststrategy_on_start", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L43", "weight": 1.0}, {"source": "rpc_test_simple_strategy_simpleteststrategy", "target": "rpc_test_simple_strategy_simpleteststrategy_on_stop", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L47", "weight": 1.0}, {"source": "rpc_test_simple_strategy_simpleteststrategy", "target": "rpc_test_simple_strategy_simpleteststrategy_on_tick", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L51", "weight": 1.0}, {"source": "rpc_test_simple_strategy_simpleteststrategy", "target": "rpc_test_simple_strategy_simpleteststrategy_on_bar", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L55", "weight": 1.0}], "raw_calls": [{"caller_nid": "rpc_test_simple_strategy_simpleteststrategy_init", "callee": "super", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L30"}, {"caller_nid": "rpc_test_simple_strategy_simpleteststrategy_init", "callee": "BarGenerator", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L33"}, {"caller_nid": "rpc_test_simple_strategy_simpleteststrategy_init", "callee": "ArrayManager", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L35"}, {"caller_nid": "rpc_test_simple_strategy_simpleteststrategy_on_init", "callee": "write_log", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L39"}, {"caller_nid": "rpc_test_simple_strategy_simpleteststrategy_on_init", "callee": "load_bar", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L41"}, {"caller_nid": "rpc_test_simple_strategy_simpleteststrategy_on_start", "callee": "write_log", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L45"}, {"caller_nid": "rpc_test_simple_strategy_simpleteststrategy_on_stop", "callee": "write_log", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L49"}, {"caller_nid": "rpc_test_simple_strategy_simpleteststrategy_on_tick", "callee": "update_tick", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L53"}, {"caller_nid": "rpc_test_simple_strategy_simpleteststrategy_on_bar", "callee": "update_bar", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L58"}, {"caller_nid": "rpc_test_simple_strategy_simpleteststrategy_on_bar", "callee": "sma", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L63"}, {"caller_nid": "rpc_test_simple_strategy_simpleteststrategy_on_bar", "callee": "sma", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L64"}, {"caller_nid": "rpc_test_simple_strategy_simpleteststrategy_on_bar", "callee": "buy", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L68"}, {"caller_nid": "rpc_test_simple_strategy_simpleteststrategy_on_bar", "callee": "sell", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_vnpy/archive/2026-04-29-cleanup/test/rpc/test_simple_strategy.py", "source_location": "L70"}]} |