# Real-time aggregations

## **Common Strategies Built on Real-Time Aggregations**

**Strategy 1: ATH Breakout**

* Check if token is legit
* Check if price < last ATH
* If price breaks ATH → buy
* Add a trailing stop-loss for exit

\
**Strategy 2: Volume Spike Momentum**

* Token legitimacy check
* Look for large volume spike
* Check price above 15-min MA
* If 2 & 3 are met → buy
* Exit via dynamic stop-loss
* Technical indicators like MAs can be derived using live moving windows.

### **Real-Time metrics we provide**

| **Metric**             | Description                                                  |
| ---------------------- | ------------------------------------------------------------ |
| Price Spike            | Token's current price > recent average or local maximum      |
| ATH                    | Detect all-time high + price value match                     |
| Local ATH              | Rolling peak over user-defined block count (e.g., 10 blocks) |
| Volume (X/Y/Z)         | Volume (count & value) across 1m, 5m, 15m sliding windows    |
| Volume Spike           | Detect sudden jump from rolling average                      |
| Buy/Sell Ratio         | % buy/sell count or volume per token/window                  |
| Dev Pre-Sell Detection | Tracks buys & sells prior to known dev wallet exit           |
