一键导入
rate-limit-compliance
Binance rate-limit etiquette, backoff rules, and paging caps that must be preserved by any network-touching change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Binance rate-limit etiquette, backoff rules, and paging caps that must be preserved by any network-touching change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | rate-limit-compliance |
| description | Binance rate-limit etiquette, backoff rules, and paging caps that must be preserved by any network-touching change. |
| origin | repo-local skill adapted from omero-docker-extended compliance-and-rate-limit |
Use this skill whenever you touch api.py, command_fetch, command_live, or add a new network-touching command.
max_rate_calls_per_minute (default 1100, hard-clamped to 2000).Retry-After header override. Retryable statuses: {418, 429, 500, 502, 503, 504}. Retryable API codes: {-1003, -1007}./api/v3/klines: ≤ 1000 rows per request./fapi/v1/klines: ≤ 1500 rows per request.command_fetch --batch-size must clamp to the correct ceiling based on runtime.market_type. Any new paging helper must clamp too./klines, /ticker/price, /exchangeInfo) can be batched sequentially without trouble. Do not introduce a thread pool or asyncio for them without a measured need._request(..., signed=True) so the rate-limiter and redaction both kick in._request behavior if the endpoint uses different conventions.last_request_info is updated with a redacted URL — the TUI and doctor --online both rely on it.requests.get. Go through self.session via _request.max_retries. If an endpoint needs more than four retries, something is wrong with the endpoint or the call, not the retry count.last_error path uses _redact_sensitive_text.Use the pinned external CocoIndex Code MCP workflow for broad repository routing, then prove exact candidates with rg and direct file reads.
Bound repository context reads and semantic-search output without weakening source, test, or evidence verification.
Choose staged contract tests that catch partial AI-generated fixes across models, data, risk, execution ownership, and CLI/Windows parity.
Keep concise user docs and machine-readable model evidence synchronized with real behavior without losing provenance or caveats.
Apply four anti-error coding principles plus this repository's stricter financial-evidence, safety, and single-session rules.
Research the existing implementation, tests, primary technical sources, and financial rationale before adding trading code or dependencies.