Toolverse
All skills

ccxt-python

by ccxt

CCXT cryptocurrency exchange library for Python developers. Covers both REST API (standard) and WebSocket API (real-time). Helps install CCXT, connect to exchanges, fetch market data, place orders, stream live tickers/orderbooks, handle authentication, and manage errors in

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
ccxt
Category
Security
Views
1

About this skill

CCXT cryptocurrency exchange library for Python developers. Covers both REST API (standard) and WebSocket API (real-time). Helps install CCXT, connect to exchanges, fetch market data, place orders, stream live tickers/orderbooks, handle authentication, and manage errors in Python. Use when working with crypto exchanges in Python projects, trading bots, data analysis, or portfolio management. Supports both sync and async (asyncio) usage.

How to use

  1. Zainstaluj bibliotekę poleceniem pip install ccxt. Jeśli planujesz pracować z WebSocket (live updates), ten sam pakiet zawiera wszystkie potrzebne moduły.

  2. Dla synchronicznych zapytań REST zaimportuj ccxt i utwórz instancję wybranej giełdy (np. ccxt.binance()). Załaduj dostępne pary handlowe metodą load_markets(), a następnie pobierz dane za pomocą fetch_ticker() lub innych metod pobierania danych.

  3. Jeśli preferujesz asynchroniczny kod, zaimportuj ccxt.async_support, utwórz funkcję async, załaduj rynki await exchange.load_markets() i pobierz dane z await fetch_ticker(). Pamiętaj o zamknięciu połączenia await exchange.close().

  4. Do otrzymywania live updates (WebSocket) zaimportuj ccxt.pro i użyj metod watch_* (np. watch_ticker()) w pętli async. Dane będą aktualizowane w czasie rzeczywistym bez konieczności ciągłego pytania giełdy.

  5. Dla zwiększenia wydajności zainstaluj opcjonalne pakiety: orjson do szybszego parsowania JSON lub coincurve do przyspieszenia podpisywania ECDSA (z 45ms do 0,05ms).

  6. Obsługuj błędy i autentykację — jeśli giełda wymaga klucza API, przekaż go przy tworzeniu instancji exchange. Biblioteka automatycznie obsługuje nagłówki i podpisy wymagane przez giełdy.

Related skills

reverse-engineering-tools

by gmh5225

Guide for reverse engineering tools and techniques used in game security research. Use this skill when working with debuggers, disassemblers, memory analysis tools, binary analysis, or decompilers for game security research.

Security
3168

obsidian

by gapmiss

Comprehensive guidelines for Obsidian.md plugin development including all 27 ESLint rules, TypeScript best practices, memory management, API usage (requestUrl vs fetch), UI/UX standards, and submission requirements. Use when working with Obsidian plugins, main.ts files,

Security
14111

typescript-review

by metabase

Review TypeScript and JavaScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing TypeScript/JavaScript code.

Security
17133

content-creator

by alirezarezvani

Create SEO-optimized marketing content with consistent brand voice. Includes brand voice analyzer, SEO optimizer, content frameworks, and social media templates. Use when writing blog posts, creating social media content, analyzing brand voice, optimizing SEO, planning content

Security
25124

google-analytics

by davila7

Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.

Security
1260

feishu-docs

by openclaw

飞书文档(Docx)API技能。用于创建、读取、更新和删除飞书文档。支持Markdown/HTML内容转换、文档权限管理。

Security
1574