ccxt-python
Build Python Exchange Integrations with CCXT
Cryptocurrency exchanges expose different APIs for market data, account access, and trading. This skill guides Python integrations through CCXT examples for REST requests and WebSocket streams.
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "ccxt-python" from https://skillstore.io/skills/ccxt-ccxt-python.md and its manifest at https://skillstore.io/api/skills/ccxt-ccxt-python/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“ccxt-python”。 Explain how to choose between REST and WebSocket access for a market dashboard.
预期结果:
- REST suits initial snapshots and occasional queries.
- CCXT Pro WebSocket subscriptions suit continuous ticker and order book updates.
- Check method support and close asynchronous connections during shutdown.
正在使用“ccxt-python”。 Review the safety requirements before testing a CCXT router plan.
预期结果:
- Start with dry-run execution and validate market rules.
- Set a positive spending cap and reject stale plans.
- Use a stable request identity and reconcile uncertain outcomes before retrying.
- Require explicit approval before any live order placement.
安全审计
中风险All 419 static findings are false positives involving Markdown, reference URLs, proxy placeholders, exchange authentication, or financial API terminology. Two documentation risks remain: live routing without spending or freshness limits, and raw diagnostics without redaction guidance. No evidence found of prompt injection, hidden command execution, or intentional credential exfiltration in the reviewed file.
已确认安全问题 (2)
风险因素
⚙️ 外部命令 (50)
🌐 网络访问 (16)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/ccxt-ccxt-python/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/ccxt-ccxt-python?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/ccxt-ccxt-python?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/ccxt-ccxt-python/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/ccxt-ccxt-python.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
ccxt. (2026). ccxt-python security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/ccxt-ccxt-python/audits/1BibTeX 引用
@techreport{ccxt-ccxt-ccxt-python-2026,
author = {ccxt},
title = {ccxt-python security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/ccxt-ccxt-python/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "ccxt-python security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "ccxt"
date-released: "2026-11-07"
url: "https://skillstore.io/skills/ccxt-ccxt-python/audits/1"
identifiers:
- type: other
value: "skillstore:ccxt-ccxt-python:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
Collect exchange market data
Use REST requests to retrieve tickers, order books, and historical candles for Python research workflows.
Develop trading integrations
Structure exchange authentication, order handling, rate limits, and error recovery before testing with controlled permissions and amounts.
Monitor portfolio changes
Combine authenticated balance subscriptions with live market streams for account monitoring without enabling order placement.
试试这些提示
Show a synchronous Python CCXT example that loads Binance markets and fetches BTC/USDT. Enable rate limiting and use no credentials or trading methods.
Create an asyncio CCXT Pro ticker monitor for BTC/USDT and ETH/USDT. Check exchange support, handle network errors, and close connections in finally blocks.
Design a read-only Python balance monitor using named environment variables. Check permissions, handle authentication failures, and keep secrets and account details out of logs.
Design a Python order-router dry run with a stable request identity, positive notional and plan-age limits, and unknown-outcome handling. Do not enable live execution.
最佳实践
- Use narrowly scoped exchange credentials from environment variables and redact all shared diagnostics.
- Check exchange capabilities and market limits; enable rate limiting and close asynchronous clients in finally blocks.
- Test with dry runs or supported sandboxes; require approval, spending limits, freshness checks, and stable identities before live trading.
避免
- Paste real API secrets into prompts, source files, or diagnostic logs.
- Run live order examples without approval, spending limits, or market validation.
- Retry an order with an unknown outcome before checking the venue for an existing order or fill.