xqliu/lucky-trading-scripts
๐ Hyperliquid trading toolkit โ CLI trading, trailing stops, price alerts. Born from a $100 AI trading experiment.
What's novel
๐ Hyperliquid trading toolkit โ CLI trading, trailing stops, price alerts. Born from a $100 AI trading experiment.
Code Analysis
11 files read ยท 4 roundsA production-grade crypto trading system for Hyperliquid that detects volume breakout signals with 4h trend filtering, executes atomic open+SL+TP orders with regime-adaptive parameters, and manages trailing stops with breakeven protection.
Strengths
Excellent separation of concerns with pure computation strategy module, comprehensive safety mechanisms (atomic execution, cooldowns, state reconciliation, emergency close), and regime-based adaptive TP/SL that's validated via backtesting.
Weaknesses
Some code duplication (indicators in both core/ and luckytrader/), complex state management across multiple JSON files, and heavy coupling to Hyperliquid API with limited exchange abstraction.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
161
Contributors
1
Files
106
Active weeks
5
Repository
Language
Python
Stars
2
Forks
0
License
โ