Grid WorkFlow Test Version
This strategy is a fully automated bidirectional grid trading system enhanced with AI-powered sentiment analysis, designed for cryptocurrency perpetual futures markets.
Strategy Logic
Starting from an initial reference price, the strategy constructs evenly spaced grids in both directions:
- Long Grid: Opens a long position at each downward price step; closes for profit when price rebounds
- Short Grid: Opens a short position at each upward price step; closes for profit when price pulls back
The strategy runs on a minute-level candle trigger, continuously monitoring price movements and executing trades automatically.
AI Intervention Mechanism
When open positions reach the maximum grid capacity, the system evaluates whether AI-driven analysis should be triggered. Trigger conditions include: price deviation exceeding 3% from the last open position price, or a position being held for more than 24 hours.
Once triggered, the system fetches the latest cryptocurrency news and market sentiment data from an external source, then combines it with current position details — including entry prices, holding duration, floating P&L, and grid boundaries — for analysis by a large language model:
- Adjustment recommended: All current positions are closed, the grid center price is reset, and the strategy awaits a fresh entry opportunity
- No adjustment needed: An AI cooldown period (~10 minutes) is applied to prevent excessive re-triggering
Risk Controls
- Volatility Filter: At initialization, the strategy measures recent market volatility. If it exceeds a defined threshold, grid setup is paused until the market stabilizes
- AI Cooldown Protection: A cooldown window prevents the AI from repeatedly resetting the strategy during choppy, sideways markets
- Position Cap: The number of grid levels is bounded, keeping maximum exposure predictable and controlled
Vedio Link:Grid WorkFlow Test Version
- 1