Tradeclaw

D 54 completed
Cli Tool
web_app / typescript · small
498
Files
64,578
LOC
5
Frameworks
8
Languages

Pipeline State

completed
Run ID
#346592
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
75.40
Framework unique
Isolation
Last stage change
2026-05-10 03:35:24
Deduplication group #64112
Member of a group with 1 similar repo(s) — this repo is canonical view group →
Top concepts (2)
Project DescriptionWeb Backend
All rows scored by the Repobility analyzer (https://repobility.com)

AI Prompt

Create a comprehensive, file-based algorithmic cryptocurrency trading engine similar to TradeClaw. I need the system to function as follows: it should use an AI component for decision-making, which then generates a structured TradePlan. A dedicated TradeManager must automatically execute this plan, handling multi-level take-profit (TP) exits and stop-loss (SL) monitoring every 10 seconds. Key features to implement include progressive protection (ATR-based SL tightening), automatic break-even protection after TP1, and Chandelier trailing stops. The system must interact with an underlying infrastructure like Freqtrade for order routing and must expose performance data, including real-time P&L and R:R ratio, via a lightweight API. The core logic should be built using TypeScript.
typescript web-app algorithmic-trading crypto express ai-integration trading-engine api
Generated by gemma4:latest

Catalog Information

A file‑based engine that executes algorithmic trading strategies and exposes performance data via a lightweight API.

Description

The engine reads trading strategy definitions from local files, validates them, and runs them against market data streams. It supports both back‑testing and live execution modes, allowing traders to evaluate performance before deploying. A minimal HTTP API built with a lightweight framework exposes real‑time metrics and chart data rendered with a charting library. The system is written in TypeScript, with optional Bash scripts for orchestration, and includes a test suite for reliability. It is designed for developers who want a quick, file‑driven way to prototype and run trading agents without a complex database setup.

الوصف

يقرأ المحرك تعريفات استراتيجيات التداول من ملفات محلية، ويقوم بالتحقق من صحتها ثم تشغيلها على تدفقات بيانات السوق. يدعم كلا من وضع الاختبار الخلفي والتشغيل الحي، ما يتيح للمتداولين تقييم الأداء قبل نشر الاستراتيجية. يوفر نظاماً API HTTP بسيطاً مبنيًا على إطار عمل خفيف الوزن، يتيح الوصول إلى المقاييس اللحظية وبيانات الرسوم البيانية التي تُنشئها مكتبة رسم بياني. يُكتب النظام بلغة TypeScript، مع إمكانية استخدام سكربتات Bash للتنسيق، ويشمل مجموعة اختبارات لضمان الاعتمادية. صُمم ليُناسب المطورين الذين يرغبون في طريقة سريعة وملف‑موجهة لتصميم وتشغيل وكلاء التداول دون الحاجة إلى إعداد قاعدة بيانات معقدة. يميز المشروع بسهولة التكوين عبر الملفات، ومرونة تشغيله في بيئات مختلفة، مع واجهة برمجة تطبيقات تسمح بدمجه مع أنظمة أخرى بسهولة.

Novelty

6/10

Tags

trading backtesting strategy-engine file-configuration charting api automation

Technologies

chartjs express hono vitest zod

Claude Models

claude-opus-4.6

Quality Score

D
53.6/100
Structure
59
Code Quality
60
Documentation
62
Testing
40
Practices
52
Security
39
Dependencies
60

Strengths

  • Properly licensed project

Weaknesses

  • No CI/CD configuration \u2014 manual testing and deployment
  • Potential hardcoded secrets in 1 files
  • 7424 duplicate lines detected \u2014 consider DRY refactoring
  • 17 'god files' with >500 LOC need decomposition

Recommendations

  • Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
  • Add a linter configuration to enforce code style consistency
  • Move hardcoded secrets to environment variables or a secrets manager
  • Address 153 TODO/FIXME items \u2014 consider tracking them as issues

Security & Health

45.8h
Tech Debt (B)
A
OWASP (100%)
FAIL
Quality Gate
A
Risk (14)
Same scanner, your repo: https://repobility.com — Repobility
MIT
License
5.2%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

typescript
87.1%
yaml
5.3%
markdown
4.9%
json
2.2%
css
0.3%
python
0.1%
shell
0.0%
html
0.0%

Frameworks

Express Hono Vitest Vite esbuild

Concepts (2)

Per-row analysis by Repobility · https://repobility.com
CategoryNameDescriptionConfidence
Methodology: Repobility · https://repobility.com/research/state-of-ai-code-2026/
auto_descriptionProject Description- Scanner 是眼睛 — 计算 SL/TP(ATR + 结构),提供 regime 自适应的数字基础。 - AI 是大脑 — 分析市场、GO/NO-GO 决策、制定交易计划。判断而非计算。 - TradeManager 是双手 — 10 秒轮询自动执行:逐级止盈、价格监控止损、渐进保护、Chandelier 追踪。80%
auto_categoryWeb Backendweb-backend70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/70665.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV