ZhuLinsen/daily_stock_analysis

LLM 驱动的多市场股票智能分析系统:多源行情、实时新闻、决策看板与自动推送,支持零成本定时运行。 LLM-powered multi-market stock analysis system with multi-source market data, real-time news, decision dashboard, automated notifications, and cost-free scheduled runs.

Python★ 69,131+506 that day#6 on trending

Analyzed November 10, 2026 at 15c7cdc (main) with jscpd v5 in 3.6s.

C58.3/100
Project health461,421 lines of code (L)
Duplication60
6.2% in python, tsx, typescript, javascript, bash, powershell, nsis, docker
Dead code88
1.4%
Complexity38
71%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

1.96%duplicated code · 4,712 of 240,958 lines
326clones in code
539code files of 1,170 scanned
6.07%duplicated over all files · 2,310 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.

Largest clones in the code

  • 97 lines in 2 placespython601 tokens
    2090            "api=ak.stock_zh_a_spot action=failed error=%s",
    2091            e,
    2092        )
    2093
    2094    return None
    2095
    2096def _calc_market_stats(
    2097    self,
    2098    df: pd.DataFrame,
    2099    ) -> Optional[Dict[str, Any]]:
    
    1057            "api=ef.stock.get_realtime_quotes action=failed error=%s",
    1058            e,
    1059        )
    1060        return None
    1061
    1062def _calc_market_stats(
    1063    self,
    1064    df: pd.DataFrame,
    1065    ) -> Optional[Dict[str, Any]]:
    1066    """从行情 DataFrame 计算涨跌统计。"""
    

    First 10 of 97 lines, the second copy on the right.

  • 94 lines in 2 placespython568 tokens
    2092        )
    2093
    2094    return None
    2095
    2096def _calc_market_stats(
    2097    self,
    2098    df: pd.DataFrame,
    2099    ) -> Optional[Dict[str, Any]]:
    2100    """从行情 DataFrame 计算涨跌统计。"""
    2101    import numpy as np
    

    First 10 of 94 lines.

  • 93 lines in 2 placespython560 tokens
    73{market_guidelines}
    74
    75## 工作流程(必须严格按阶段顺序执行,每阶段等工具结果返回后再进入下一阶段)
    76
    77**第一阶段 · 行情与K线**(首先执行)
    78- `get_realtime_quote` 获取实时行情
    79- `get_daily_history` 获取历史K线
    80
    81**第二阶段 · 技术与筹码**(等第一阶段结果返回后执行)
    82- `analyze_trend` 获取技术指标
    

    First 10 of 93 lines.

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
python340191,1062964,4032.3%
tsx10231,659181760.56%
typescript8214,176111250.88%
javascript52,433180.33%
bash61,074000%
powershell4510000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
python652363,0451,73422,1536.1%
tsx17063,3854255,8139.17%
typescript13429,120394391.51%
json1510,058351,05710.51%
javascript74,265273067.17%
css12,924161685.75%
yaml443,922132085.3%
markdown7719,1138830.43%
bash261,8257673.67%
text185093254.91%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Nov 10, 2026#669,131 (+506)1,170499,8642,3106.07%1.96%C 58.315c7cdc

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.