Smart Agent
A smarter agent that buys the cheapest feed first, then conditionally purchases additional feeds based on market conditions.Strategy
- Buy
btc-sentiment(0.003 STX — cheapest feed) - If Fear & Greed < 30 (extreme fear) → buy
whale-alertsto check for smart money accumulation - If Fear & Greed > 70 (extreme greed) → buy
liquidation-alertsto check risk - Always buy
gas-predictionfor trade timing
Full Code
Run It
Cost Analysis
| Condition | Feeds Bought | Total Cost |
|---|---|---|
| Extreme fear (FGI < 30) | sentiment + whales + gas | 0.011 STX |
| Extreme greed (FGI > 70) | sentiment + liquidations + gas | 0.014 STX |
| Neutral market | sentiment + gas | 0.006 STX |