1. Habit
  2. Skills
  3. CCXT for Python skill
ccxt · 2K installs

CCXT for Python skill
Runs by itself, daily price snapshot.

Live prices streamed, read-only.

Install the CCXT for Python skill and make it a habit: follow https://gethabit.dev/skills/ccxt/ccxt-python.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

2K installs45K starsMIT licenceSource on GitHub ↗

CCXT for Python

by ccxt · 2K installs

The skill

CCXT for Python is a guide to the CCXT cryptocurrency exchange library in Python: install, connect to exchanges, fetch market data, place orders, stream live data over WebSocket, handle auth and errors, sync and async.

Only when you ask.

The habit

Live prices streamed, read-only.

↻ Runs by itselfdaily price snapshot

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after at most 20 symbols per run, with 2 retries on network errors.

  1. 01

    Create the exchange

    Create the exchange with ccxt.async_support and enableRateLimit set true.

  2. 02

    Load markets

    Call await exchange.load_markets() and confirm each watched symbol exists.

  3. 03

    Fetch data

    Use await exchange.fetch_ticker and fetch_order_book for each symbol.

  4. 04

    Handle errors

    Retry on NetworkError with backoff and do not retry on ExchangeError.

  5. 05

    Close and log

    Call await exchange.close(), then log today's prices and changes.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the CCXT for Python skill helps.

Use it when

  • ✓ You query a crypto exchange in Python
  • ✓ You fetch tickers or order books
  • ✓ You build a trading bot or data script

Skip it when

  • – You do not use crypto exchanges
  • – You want a hosted dashboard, not code

Questions

CCXT for Python skill, answered.

Does it place orders?

No. This loop only fetches market data; creating orders needs authentication and is out of scope here.

Why close the async exchange?

Not closing it leaks resources; the skill lists close() as required in async mode.

How do I install the CCXT for Python skill?

Copy the prompt at the top into your agent. It installs the skill from ccxt/ccxt and sets up the habit. Or run npx skills add ccxt/ccxt --skill ccxt-python.

Is the CCXT for Python skill free?

Yes. It is published under MIT. Habit is free too.

CCXT for Python. Now as a habit.

Install the CCXT for Python skill and make it a habit: follow https://gethabit.dev/skills/ccxt/ccxt-python.md

  • Free
  • No account
  • Undo in one line

All ccxt skills →More ops skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by ccxt, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.