5,371,928 AI resources indexedWorking toward the world’s largest AI resource index.

PDF

Tick Data Skill

Query historical tick, OHLC, and orderbook data from TimescaleDB.

Installable skillMITBy alsk1992Updated Oct 28, 2026
INTENDED FOROpenClawInstall in a listed agent.

instructions.md

---
name: tick-data-skill-ff5e5d14555e
description: "Query historical tick, OHLC, and orderbook data from TimescaleDB."
---

# Tick Data Skill

Query historical tick, OHLC, and orderbook data from TimescaleDB.

## Commands

| Command | Description |
|---------|-------------|
| `/ticks <platform> <marketId>` | Get recent ticks (last 24h) |
| `/ticks ohlc <platform> <marketId> --outcome <id>` | Get OHLC candles |
| `/ticks spread <platform> <marketId>` | Get spread history |
| `/ticks stats` | Get tick recorder stats |

## Options

| Option | Description |
|--------|-------------|
| `--outcome <id>` | Filter by outcome ID |
| `--interval <int>` | OHLC interval: `1m`, `5m`, `15m`, `1h`, `4h`, `1d` |
| `--limit <n>` | Limit number of results |

## Examples

```
/ticks polymarket 0x1234abcd
/ticks ohlc polymarket 0x1234 --outcome 0x5678 --interval 1h
/ticks spread polymarket 0x1234 --limit 50
/ticks stats
```

## Requirements

- TimescaleDB tick recorder must be enabled
- Configure in `clodds.config.yaml`:

```yaml
tickRecorder:
  enabled: true
  connectionString: postgres://user:pass@localhost:5432/clodds
```

## Output

### Ticks
Shows price history with timestamps and price changes.

### OHLC
Shows candlestick data with open, high, low, close, and tick count.
Includes period change summary.

### Spread
Shows orderbook spread history with mid price and depth.
Includes spread statistics (avg, min, max).

### Stats
Shows recorder status including:
- Database connection status
- Total ticks/orderbooks recorded
- Buffer pending counts
- Last flush time
- Active platforms

Discuss this resource

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Includes source scripts; review them before use. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.