Crypto Excel » Docs_functions Watch Trades Aggregated
Streams live aggregated trades from a selected exchange and trading pair into Excel in real time.
This function aggregates multiple trades at the same milliseconds for the same price in a single trade.
=ST_WATCH_TRADES_AGG ( exchange, symbol, [sec], [reverse], [Max_rov], [precision])
Parameter | Required | Description | Example |
Exchange | Y | Exchange name (e.g., binance, coinbase, kraken, my_exc) | “binance” |
Symbol | Y | Trading pair | “BTC/USDT” |
Sec | N. Default 2 | Update time in seconds | 2.5 |
Reverse | N. Default 0 | Time Order | 0 or 1 |
Max Row | N Default 50 | Max Number of rows/trades | 10 |
Precision | N. Default 0 | Millisecond timestamp | 0 or 1 |
Required: Y
Description: Exchange name (e.g., binance, coinbase, kraken)
Example: “binance”
Required: Y
Description: Trading pair
Example: “BTC/USDT”
Required: N default 0
Description: Update time in seconds
Example: 2.5
Required: N default 0
Description: Time order
Example: 0 or 1
Required: N default 50
Description: Max number of rows/trades
Example: 10
Required: N default 0
Description: Milliseconds time stamp
Example: 0 or 1
Value | Description |
Direction | D: down U:up |
Price | Trade Price up to 8 decimals |
Size | Trade size |
Time | Timestamp/Millisecond Timestamp |
Pr-diff | Pr – previous Pr |
Side* | B: Buy. S: Sell |
Dir_size | Size with +/- depending on side |
* Some Exchange do not provide this value
D: down. U: Up
Trade Price up to 10 decimals
Trade size
Timestamp or millisecond timestamp
Timestamp or millisecond timestamp
B:Buy. S:Sell
Size with +/- depending on side
This function uses a WebSocket connection and does not consume your rate limit
Tip. Use st_watch_requests() to monitor your requests.
The Watch Trades Agg function improves tape reading and make easier to spot aggressive buyers or sellers. It helps you catching momentum shift and real breakout signals.