TauricResearch/TradingAgents

TradingAgents: Multi-Agents LLM Financial Trading Framework

Python★ 106,305+745 that day#9 on trending

Analyzed September 15, 2026 at be952b8 (main) with jscpd 5.4.0 in 0.1s. Code duplication stayed at 1.34% across 2 appearances since Sep 10.

1.34%duplicated code · 156 of 11,674 lines
10clones in code
86code files of 157 scanned
1.19%duplicated over all files · 20 clones

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

Largest clones in the code

  • 38 lines in 2 placespython141 tokens
    54    + """ Make sure to append a Markdown table at the end of the report to organize key points in the report, organized and easy to read."""
    55    + get_language_instruction()
    56)
    57
    58prompt = ChatPromptTemplate.from_messages(
    59    [
    60        (
    61            "system",
    62            "You are a helpful AI assistant, collaborating with other assistants."
    63            " Use the provided tools to progress towards answering the question."
    

    First 10 of 38 lines.

  • 36 lines in 2 placespython133 tokens
    30)
    31
    32prompt = ChatPromptTemplate.from_messages(
    33    [
    34        (
    35            "system",
    36            "You are a helpful AI assistant, collaborating with other assistants."
    37            " Use the provided tools to progress towards answering the question."
    38            " If you are unable to fully answer, that's OK; another assistant with different tools"
    39            " will help where you left off. Execute what you can to make progress."
    

    First 10 of 36 lines.

  • 15 lines in 2 placespython67 tokens
    16)
    17market_research_report = state["market_report"]
    18sentiment_report = state["sentiment_report"]
    19news_report = state["news_report"]
    20fundamentals_report = state["fundamentals_report"]
    21instrument_context = get_instrument_context_from_state(state)
    22asset_type = state.get("asset_type", "stock")
    23target_label = "stock" if asset_type == "stock" else "asset"
    24fundamentals_label = (
    25    "Company fundamentals report"
    

    First 10 of 15 lines.

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
python7610,856101561.44%
bash9644000%
perl1174000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
python13918,501202431.31%
markdown2803000%
bash10670000%
perl1174000%
yaml297000%
toml188000%
text19000%
txt17000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Sep 15, 2026#9106,305 (+745)15720,349201.19%1.34%—be952b8
Sep 10, 2026#6104,143 (+367)15720,349201.19%1.34%—be952b8

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