1 line
11 KiB
JSON
1 line
11 KiB
JSON
{"nodes": [{"id": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_trend_factors_py", "label": "trend_factors.py", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L1"}, {"id": "factors_trend_factors_momentum1mfactor", "label": "Momentum1MFactor", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L9"}, {"id": "basestructuredfactor", "label": "BaseStructuredFactor", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "factors_trend_factors_momentum1mfactor_init", "label": ".__init__()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L12"}, {"id": "factors_trend_factors_momentum1mfactor_calculate_raw", "label": ".calculate_raw()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L16"}, {"id": "factors_trend_factors_momentum3mfactor", "label": "Momentum3MFactor", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L28"}, {"id": "factors_trend_factors_momentum3mfactor_init", "label": ".__init__()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L31"}, {"id": "factors_trend_factors_momentum3mfactor_calculate_raw", "label": ".calculate_raw()", "file_type": "code", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L35"}, {"id": "factors_trend_factors_rationale_1", "label": "\u6280\u672f\u8d8b\u52bf\u56e0\u5b50 - \u52a8\u91cf\u56e0\u5b50 \u8fd1\u671f\u6da8\u5e45\u8d8a\u5927\uff0c\u52a8\u91cf\u8d8a\u5f3a\uff0c\u5f97\u5206\u8d8a\u9ad8", "file_type": "rationale", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L1"}], "edges": [{"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_trend_factors_py", "target": "pandas", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L5", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_trend_factors_py", "target": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_base_factor_py", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L6", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_trend_factors_py", "target": "factors_trend_factors_momentum1mfactor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L9", "weight": 1.0}, {"source": "factors_trend_factors_momentum1mfactor", "target": "basestructuredfactor", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L9", "weight": 1.0}, {"source": "factors_trend_factors_momentum1mfactor", "target": "factors_trend_factors_momentum1mfactor_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L12", "weight": 1.0}, {"source": "factors_trend_factors_momentum1mfactor", "target": "factors_trend_factors_momentum1mfactor_calculate_raw", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L16", "weight": 1.0}, {"source": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_trend_factors_py", "target": "factors_trend_factors_momentum3mfactor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L28", "weight": 1.0}, {"source": "factors_trend_factors_momentum3mfactor", "target": "basestructuredfactor", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L28", "weight": 1.0}, {"source": "factors_trend_factors_momentum3mfactor", "target": "factors_trend_factors_momentum3mfactor_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L31", "weight": 1.0}, {"source": "factors_trend_factors_momentum3mfactor", "target": "factors_trend_factors_momentum3mfactor_calculate_raw", "relation": "method", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L35", "weight": 1.0}, {"source": "factors_trend_factors_momentum1mfactor_init", "target": "factors_trend_factors_momentum3mfactor_init", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L13", "weight": 1.0}, {"source": "factors_trend_factors_rationale_1", "target": "users_chufeng_openclaw_sanguo_projects_sanguo_quant_live_strategies_structured_dynamic_factors_20260327_factors_trend_factors_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "factors_trend_factors_momentum1mfactor_init", "callee": "super", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L13"}, {"caller_nid": "factors_trend_factors_momentum1mfactor_calculate_raw", "callee": "ValueError", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L18"}, {"caller_nid": "factors_trend_factors_momentum1mfactor_calculate_raw", "callee": "isinstance", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L20"}, {"caller_nid": "factors_trend_factors_momentum1mfactor_calculate_raw", "callee": "pct_change", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L21"}, {"caller_nid": "factors_trend_factors_momentum1mfactor_calculate_raw", "callee": "groupby", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L21"}, {"caller_nid": "factors_trend_factors_momentum1mfactor_calculate_raw", "callee": "pct_change", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L23"}, {"caller_nid": "factors_trend_factors_momentum1mfactor_calculate_raw", "callee": "groupby", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L23"}, {"caller_nid": "factors_trend_factors_momentum3mfactor_init", "callee": "super", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L32"}, {"caller_nid": "factors_trend_factors_momentum3mfactor_calculate_raw", "callee": "ValueError", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L37"}, {"caller_nid": "factors_trend_factors_momentum3mfactor_calculate_raw", "callee": "isinstance", "is_member_call": false, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L39"}, {"caller_nid": "factors_trend_factors_momentum3mfactor_calculate_raw", "callee": "pct_change", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L40"}, {"caller_nid": "factors_trend_factors_momentum3mfactor_calculate_raw", "callee": "groupby", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L40"}, {"caller_nid": "factors_trend_factors_momentum3mfactor_calculate_raw", "callee": "pct_change", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L42"}, {"caller_nid": "factors_trend_factors_momentum3mfactor_calculate_raw", "callee": "groupby", "is_member_call": true, "source_file": "/Users/chufeng/.openclaw/sanguo_projects/sanguo_quant_live/strategies/structured-dynamic-factors-20260327/factors/trend_factors.py", "source_location": "L42"}]} |