Skip to content
Automation
Skill

/ticks

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

From plugin
cloddsbot
651120 skills
Install
$ npx -y skills add alsk1992/CloddsBot --skill ticks --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ticks

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

ticks.SKILL.md

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`:
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
Read more
Ships withcloddsbot

Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.

Get the whole plugin
Stats
651
Stars
139
Forks
Maintained
Maintenance
TypeScript
Language
MIT
License
1mo ago
Last commit
6mo ago
Created

Repo: alsk1992/CloddsBot