Toolverse
All skills

ccxt-go

by ccxt

CCXT cryptocurrency exchange library for Go 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 Go

Installation

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

Installation

Quick info

Author
ccxt
Category
Security
Views
2

About this skill

CCXT cryptocurrency exchange library for Go 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 Go projects. Use when working with crypto exchanges in Go applications, microservices, or trading systems.

How to use

  1. Zainstaluj bibliotekę CCXT dla Go za pomocą polecenia go get github.com/ccxt/ccxt/go/v4 dla REST API lub go get github.com/ccxt/ccxt/go/v4/pro dla WebSocket API w zależności od tego, czy potrzebujesz standardowych zapytań, czy transmisji danych w czasie rzeczywistym.

  2. Zaimportuj wybraną giełdę — na przykład github.com/ccxt/ccxt/go/v4/binance dla REST lub github.com/ccxt/ccxt/go/v4/pro/binance dla WebSocket — i utwórz instancję giełdy za pomocą binance.New().

  3. Dla REST API załaduj dostępne rynki metodą LoadMarkets(), a następnie pobieraj dane za pomocą metod Fetch* takich jak FetchTicker("BTC/USDT") do pobrania aktualnej ceny lub FetchOrderBook() do pobrania księgi zleceń.

  4. Dla WebSocket API użyj metod Watch* w pętli — na przykład WatchTicker("BTC/USDT") — aby otrzymywać aktualizacje cen na żywo. Pamiętaj o zamknięciu połączenia za pomocą defer exchange.Close() na koniec programu.

  5. Obsługuj błędy za pomocą standardowego mechanizmu Go — sprawdzaj wartość err po każdym wywołaniu metody i reaguj odpowiednio, aby zapewnić stabilność systemu tradingowego.

Related skills

senior-security

by davila7

Comprehensive security engineering skill for application security, penetration testing, security architecture, and compliance auditing. Includes security assessment tools, threat modeling, crypto implementation, and security automation. Use when designing security architecture,

Security
2482

python-expert

by Shubhamsaboo

Senior Python developer expertise for writing clean, efficient, and well-documented code.\nUse when: writing Python code, optimizing Python scripts, reviewing Python code for best practices,\ndebugging Python issues, implementing type hints, or when user mentions Python, PEP 8,

Security
2777

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

security-compliance

by davila7

Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding

Security
1172

software-security

by project-codeguard

A software security skill that integrates with Project CodeGuard to help AI coding agents write secure code and prevent common vulnerabilities. Use this skill when writing, reviewing, or modifying code to ensure secure-by-default practices are followed.

Security
1678

architect-review

by sickn33

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural

Security
2773