cilipep/ai-agent-with-tslab/grid-strategy-pipeline
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
End-to-end pipeline for creating grid trading strategies: from initial idea through Python backtesting, parameter optimization, leverage/reinvest testing, equity curve generation, TSLab script creation, and docx documentation. Use when the user asks to create a grid strategy.
Install
npx vskill@latest install cilipep/ai-agent-with-tslab/grid-strategy-pipelineSKILL.md
Grid Strategy Pipeline
When to use
- User asks to create a grid trading strategy
- User wants to test grid levels, trailing up/down, or grid spacing
- User needs a complete grid strategy from idea to TSLab implementation
Workflow
1. Strategy Definition
2. Python Backtest Class
3. Parameter Sweep Pattern
4. Multi-Coin Comparison
5. Equity Curve Visualization
6. TSLab Script Creation
Grid levels in TSLab:
- ATR14 → GridSpacing (ATR × GridMultiplier)
- GridLevelBuy = Close - GridSpacing
- GridLevelSell = Close + GridSpacing
- StopLevelLong = Close - StopDist
- StopLevelShort = Close + StopDist
7. Documentation
Create docx with:
- Strategy overview
- Parameters table
- Backtest results
- Leverage/reinvest comparison
- Risk management
- File listing
Key Metrics to Track
| Metric | Target | |
|---|---|---|
| PnL | Positive | |
| Win Rate | > 60% | |
| Profit Factor | > 1.0 | |
| Max Drawdown | < 50% | |
| Sharpe Ratio | > 5.0 |
Common Pitfalls
- 50x leverage → liquidation risk too high
- 100% reinvest → PF drops below 1.0
- Fixed % SL/TP → worse than ATR-based
- Ignoring trailing → missed profit in trends
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.mimocode/skills/grid-strategy-pipeline/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cilipep/ai-agent-with-tslab/grid-strategy-pipeline)