Crypto Hft logo

Crypto Hft

CommunityPopular
alsk1992
crypto-hft

Trade crypto binary markets on Polymarket with 4 automated strategies. Support: 5-min BTC, 15-min/1h/4h/daily all assets (BTC, ETH, SOL, XRP)

Overview

Publisheralsk1992
RepositoryCloddsBot
Skill namecrypto-hft
Stars
2.8K
Forks
336
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by alsk1992 on GitHub. Read the source before you install it.

Installation

Install the Crypto Hft AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/alsk1992/CloddsBot.git /tmp/CloddsBot
mkdir -p .claude/skills
cp -r /tmp/CloddsBot/src/skills/bundled/crypto-hft .claude/skills/crypto-hft
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Crypto Hft in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Crypto Hft on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Crypto Hft is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Crypto HFT - Binary Market Trading

Trade Polymarket's crypto binary markets with 4 automated strategies. Just say what you want!

Available market durations (pick one):

  • 5-minute: BTC only - ultra-high frequency HFT
  • 15-minute: All assets (BTC, ETH, SOL, XRP) - balanced, most popular
  • 1-hour: All assets - faster swing trading
  • 4-hour: All assets - multi-hour trends
  • Daily: All assets - position trading, overnight holds

Each round has UP/DOWN token pairs that settle at 0 or 1 using Chainlink price feeds.

Starts in dry-run mode by default (no real orders). Test for free before going live!

Talk to Clodds Naturally

Just say what you want to trade:

"Trade 5-minute BTC markets"
→ /hft start --preset 5min-btc

"Start 1-hour trading on all assets"
→ /hft start --preset 1h-all

"I want 4-hour swing trades"
→ /hft start --preset 4h-all

"Show me daily market presets"
→ /hft preset list

"Trade conservatively on 15-minute markets"
→ /hft start --preset conservative

"Aggressive all-in on 15-min with all strategies"
→ /hft start --preset aggressive

Quick Start

/crypto-hft start                          # 15-min (default): BTC,ETH,SOL,XRP
/crypto-hft start --preset 5min-btc        # 5-minute BTC (fast, aggressive)
/crypto-hft start --preset 1h-all          # 1-hour all assets
/crypto-hft start --preset 4h-all          # 4-hour all assets (swing)
/crypto-hft start --preset daily-all       # Daily all assets (position)
/crypto-hft start BTC,ETH --dry-run       # 15-min specific assets, dry run
/crypto-hft status                         # Check stats + open positions
/crypto-hft stop                           # Stop and show summary

For live trading, set Polymarket env vars and omit --dry-run:

bash
export POLY_PRIVATE_KEY="..."
export POLY_FUNDER_ADDRESS="..."
export POLY_API_KEY="..."
export POLY_API_SECRET="..."
export POLY_API_PASSPHRASE="..."

Commands

Start / Stop

/crypto-hft start [ASSETS] [--size N] [--dry-run] [--preset NAME]
/crypto-hft stop

Monitor

/crypto-hft status       Stats, round info, open positions
/crypto-hft positions    Last 20 closed trades with PnL
/crypto-hft markets      Active markets from Gamma API (5-min or 15-min)
/crypto-hft round        Current round slot and timing

Configure (while running)

/crypto-hft config                                 Show current config
/crypto-hft config --tp 15 --sl 12                 Set take-profit/stop-loss %
/crypto-hft config --size 30 --max-pos 4           Set trade size and max positions
/crypto-hft config --ratchet on --trailing off      Toggle exit features
/crypto-hft config --max-loss 100                   Set daily loss limit

Strategy Control

/crypto-hft enable momentum          Enable a strategy
/crypto-hft disable expiry_fade      Disable a strategy

Presets

/crypto-hft preset list              Show all presets
/crypto-hft preset save my_config    Save current config as preset
/crypto-hft preset load scalper      Load a preset (into running engine or for next start)
/crypto-hft preset delete my_config  Delete a saved preset

Strategies

StrategyEntry ConditionOrder ModeBest For
momentumSpot price moved, poly laggingmaker_then_takerCatching delayed reactions
mean_reversionToken mispriced, spot calmmaker (0% fee)Range-bound markets
penny_clipperOscillating in zone, price below meanmaker (0% fee)Tight spread scalping
expiry_fadeNear expiry, skewed pricing, flat spottaker (speed)Late-round mean reversion

Built-in Presets

By Market Duration

5-Minute (BTC Only)
PresetSizeMax PosStrategiesFeatures
5min-btc$151All 4Aggressive - 10s min age
5min-btc-conservative$101MR, PCConservative - 15s min age
1-Hour (All Assets)
PresetSizeMax PosStrategiesFeatures
1h-all$203All 4Balanced - ratchet + trailing
4-Hour (All Assets - Swing)
PresetSizeMax PosStrategiesFeatures
4h-all$304Mom + MRSwing trading focus
Daily (All Assets - Position)
PresetSizeMax PosStrategiesFeatures
daily-all$504Mom + MRPosition trading, tight ratchet
15-Minute (Classic - All Assets)
PresetSizeMax PosStrategiesRisk
conservative$102MR, PCLow - dry run, tight stops
aggressive$504All 4High - live, wide stops
scalper$203PC onlyMedium - ratchet on
momentum_only$303Mom onlyMedium - ratchet + trailing

Legend: MR=mean_reversion, PC=penny_clipper, Mom=momentum

Market Duration Comparison

Aspect5-Min1-Hour4-HourDaily
AssetsBTCAllAllAll
Duration300s3,600s14,400s86,400s
Min Round Age10s60s120s600s
Min Time Left50s180s600s3,600s
Force Exit10s60s120s600s
Best ForHFT scalpingFast swingSwing tradingPosition trading
LiquidityThinGoodVery goodExcellent
Fee ImpactCriticalModerateLowVery low
Daily Cycles2882461

Trading Strategy by Duration:

  • 5-min: Ultra-high frequency, requires tight risk management, penny_clipper focus
  • 1-hour: Balanced entry points, good for mean reversion + momentum
  • 4-hour: Swing trading, catch multi-hour trends, focus on momentum
  • Daily: Position trading, macroeconomic drivers, long holding periods

Exit Logic

Positions are monitored every 500ms with 9 exit types (in priority order):

  1. Force exit - < 30s before expiry (15-min) or < 10s (5-min)
  2. Take profit - PnL >= TP% (default 15%)
  3. Stop loss - PnL <= -SL% (default 12%)
  4. Ratchet floor - Progressive giveback from confirmed high-water mark
  5. Trailing stop - Tightens as expiry approaches
  6. Depth collapse - Orderbook depth dropped 60%+ while price dropping
  7. Stale profit - Profitable but bid unchanged for 7s
  8. Stagnant profit - At +3% for 13s with no progress
  9. Time exit - Approaching minimum time left

Architecture

Binance WS (spot) --> CryptoFeed --> Strategy Evaluators --> Entry Signals
Gamma API ---------> MarketScanner --> Round Detection    |
                                                          v
Poly Orderbook ----> OBI/Spread/Depth --> Exit Checks --> ExecutionService
                                    |
                              PositionManager (ratchet, trailing, depth collapse)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Crypto Hft AI skill do?

Trade crypto binary markets on Polymarket with 4 automated strategies. Support: 5-min BTC, 15-min/1h/4h/daily all assets (BTC, ETH, SOL, XRP)

Why use Crypto Hft on TypingMind?

Because you install it once and use it with any model. Crypto Hft is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Crypto Hft in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/alsk1992/CloddsBot/tree/main/src/skills/bundled/crypto-hft. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Crypto Hft?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Crypto Hft?

As many as you like. As long as a model supports skills, you can use Crypto Hft with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Crypto Hft AI skill free?

Yes. It is published on GitHub by alsk1992 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇