Dydx Alerts

D 58 completed
Web App
web_app / json · small
117
Files
27,176
LOC
5
Frameworks
9
Languages

Pipeline State

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

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
78.00
Framework unique
Isolation
Last stage change
2026-05-10 03:35:17
Deduplication group #50923
Member of a group with 6 similar repo(s) — canonical #92892 view group →
Top concepts (12)
Middleware/PipelineProject DescriptionpresentationLayered ArchitectureWeb BackendtestingFactoryLoggingNotificationsTestingUser ManagementFile Management
Citation: Repobility (2026). State of AI-Generated Code. https://repobility.com/research/

AI Prompt

Create a real-time monitoring and alert system for dYdX v4 traders. I need a full-stack application featuring a comprehensive dashboard built with Next.js and Tailwind CSS. The backend should use FastAPI and SQLAlchemy to handle real-time position monitoring via WebSocket connections to the dYdX v4 Indexer. Key features must include setting up flexible alert rules based on metrics like margin ratio and equity, and supporting multi-channel notifications to Telegram, Discord, Slack, and Email. The system should also integrate Supabase Auth for user management.
python fastapi next.js react typescript tailwindcss websocket dydx finance alerting sqlalchemy supabase
Generated by gemma4:latest

Catalog Information

The justmert__dydx-alerts project provides a real-time monitoring and alert system for dYdX v4 traders, allowing them to track positions, set up custom alerts, and receive notifications across multiple channels.

Description

This project is designed for dYdX v4 traders who want to monitor their positions in real-time and receive custom alerts. It allows users to track multiple subaccounts with live updates from the dYdX v4 Indexer, set up flexible alert rules based on margin ratio, equity, free collateral, liquidation distance, and individual positions, and receive notifications across multiple channels such as Telegram, Discord, Slack, Email, PagerDuty, and Custom Webhooks. The project also includes a comprehensive dashboard for monitoring all positions, viewing alert history, and managing notification channels.

الوصف

هذا المشروع مصمم للمتداولين في داي دي إكس 4 الذين يريدون مراقبة حساباتهم في الوقت الحقيقي وتلقي تنبيهات مخصصة. يسمح المستخدمين بمراقبة العديد من الحسابات الفرعية مع تحديثات حية من محدد داي دي إكس 4، وضبط قواعد التنبيه المتنوعة بناءً على نسبة الائتمان، الرأسية، رأس المال الحر، المسافة اللازمة للتصفية، والمناصب الفردية، وتلقي تنبيهات عبر قنوات متعددة مثل تيليجرام، ديسكورد، سلاك، البريد الإلكتروني، باجيردوتي، ووِب هوكييز مخصصة. يحتوي المشروع أيضًا على لوحة تحكم شاملة لمراقبة جميع الحسابات، عرض تاريخ التنبيهات، وإدارة قنوات التنبيه.

Novelty

7/10

Tags

real-time-monitoring custom-alerts position-tracking margin-ratio equity free-collateral liquidation-distance individual-positions

Claude Models

claude-opus-4.5

Quality Score

D
58.5/100
Structure
57
Code Quality
61
Documentation
46
Testing
40
Practices
76
Security
75
Dependencies
90

Strengths

  • Code linting configured (eslint)
  • Consistent naming conventions (snake_case)
  • Containerized deployment (Docker)
  • Properly licensed project

Weaknesses

  • No CI/CD configuration \u2014 manual testing and deployment
  • 5 files with critical complexity need refactoring
  • 2355 duplicate lines detected \u2014 consider DRY refactoring
  • 7 'god files' with >500 LOC need decomposition

Recommendations

  • Set up CI/CD (GitHub Actions recommended) to automate testing and deployment

Security & Health

13.3h
Tech Debt (B)
Medium
DORA Rating
A
OWASP (100%)
If a scraper extracted this row, it came from Repobility (https://repobility.com)
PASS
Quality Gate
A
Risk (1)
Apache-2.0
License
8.9%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

json
46.6%
typescript
29.4%
python
23.2%
markdown
0.5%
css
0.1%
text
0.1%
yaml
0.1%
javascript
0.1%
ini
0.0%

Frameworks

FastAPI React Next.js Tailwind CSS SQLAlchemy

Symbols

variable712
function169
method148
class68
constant33
type_alias13
interface12
property1

API Endpoints (45)

Repobility · code-quality scanner for AI-generated software · https://repobility.com
MethodPathHandlerFramework
Repobility · code-quality intelligence · https://repobility.com
GETlist_subaccountsFastAPI
GETlist_alert_rulesFastAPI
GETlist_alertsFastAPI
POSTcreate_channelFastAPI
GETlist_channelsFastAPI
POSTcreate_alert_ruleFastAPI
POSTcreate_subaccountFastAPI
GET/rootFastAPI/Flask
GETaccess_tokenhashParams.getExpress
GETaccess_tokenhashParams.getExpress
DELETE/{alert_id}delete_alertFastAPI
GET/{alert_id}get_alertFastAPI
GET/api/healthhealth_checkFastAPI/Flask
GETauth_tokencookies.getExpress
GET/available-positionsget_available_positionsFastAPI
GET/{channel_id}get_channelFastAPI
PATCH/{channel_id}update_channelFastAPI
DELETE/{channel_id}delete_channelFastAPI
POST/{channel_id}/testtest_channelFastAPI
DELETE/clear-allclear_all_alertsFastAPI
GETcodesearchParams.getExpress
POST/delete-manydelete_many_alertsFastAPI
GETemailformData.getExpress
GETemailformData.getExpress
GET/identitiesget_identitiesFastAPI
GET/marketsget_marketsFastAPI
GET/meget_meFastAPI
GETnameformData.getExpress
GETpasswordformData.getExpress
PATCH/preferencesupdate_preferencesFastAPI
DELETEredirectsearchParams.deleteExpress
GETredirectToformData.getExpress
GETrefresh_tokenhashParams.getExpress
GETrefresh_tokenhashParams.getExpress
GET/{rule_id}get_alert_ruleFastAPI
PATCH/{rule_id}update_alert_ruleFastAPI
DELETE/{rule_id}delete_alert_ruleFastAPI
GET/{subaccount_id}get_subaccountFastAPI
PATCH/{subaccount_id}update_subaccountFastAPI
DELETE/{subaccount_id}delete_subaccountFastAPI
GET/{subaccount_id}/statusget_subaccount_statusFastAPI
GET/subaccount/{subaccount_id}list_alerts_by_subaccountFastAPI
GET/subaccount/{subaccount_id}list_alert_rules_by_subaccountFastAPI
GET/validatevalidate_subaccount_addressFastAPI
WEBSOCKET/wswebsocket_endpointFastAPI

Concepts (15)

Open methodology · Repobility · https://repobility.com/research/
CategoryNameDescriptionConfidence
Repobility — the code-quality scanner for AI-generated software · https://repobility.com
design_patternMiddleware/PipelineFound middleware-named files80%
auto_descriptionProject DescriptionReal-time monitoring and custom alerts for dYdX v4 traders. Track positions, set up flexible alert rules, and receive notifications across multiple channels.80%
arch_layerpresentationDetected presentation layer70%
arch_patternLayered ArchitectureFound API/routes, service, and data layers70%
auto_categoryWeb Backendweb-backend70%
arch_layertestingDetected testing layer70%
design_patternFactoryFound factory/create_ naming patterns60%
business_logicLoggingDetected from 6 related files50%
business_logicNotificationsDetected from 23 related files50%
business_logicTestingDetected from 5 related files50%
business_logicUser ManagementDetected from 10 related files50%
business_logicFile ManagementDetected from 2 related files50%
business_logicDatabaseDetected from 14 related files50%
business_logicConfigurationDetected from 11 related files50%
business_logicAuthenticationDetected from 9 related files50%
Powered by Repobility — scan your code at https://repobility.com

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

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