소스 정보
- 저장소
- krakenfx/kraken-cli
- 최근 소스 활동
- 2026년 8월 6일 08:02
- 감지된 SKILL.md 언어
- 영어
- 스타
- 698
- 포크
- 98
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/krakenfx/kraken-cli --skill kraken-error-recovery명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Price alerts, threshold monitoring, and notification triggers for agents.
Progress from manual trading to full agent autonomy with controlled risk at each level.
Capture the spot-futures price spread with delta-neutral basis trades.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | kraken-error-recovery |
| version | 1.0.0 |
| description | Handle order failures, network errors, and duplicate submissions safely. |
| metadata | {"openclaw":{"category":"finance"},"requires":{"bins":["kraken"],"skills":["kraken-shared"]}} |
Use this skill for:
Parse the .error field from the JSON response:
| Category | Meaning | Recovery |
|---|---|---|
auth | Credentials invalid or expired | Re-authenticate, do not retry |
rate_limit | Too many requests | Read suggestion and docs_url fields, adapt strategy |
network | Connection failed | Retry with exponential backoff |
validation | Invalid request parameters | Fix inputs, do not retry unchanged |
api | Exchange-side rejection | Inspect error message, adjust request |
After a network error during order submission, the order may or may not have reached the exchange. Check before resubmitting:
kraken open-orders -o json 2>/dev/null
If the order appears in open-orders, do not resubmit. If absent:
kraken trades-history -o json 2>/dev/null
If the order filled immediately, it appears in trades. Only resubmit if the order is absent from both.
Use --cl-ord-id to tag orders with a unique identifier:
kraken order buy BTCUSD 0.001 --type limit --price 50000 --cl-ord-id "dca-2024-01-15-001" -o json 2>/dev/null
If the submission fails, query by client order ID to check if it reached the exchange:
kraken open-orders --cl-ord-id "dca-2024-01-15-001" -o json 2>/dev/null
Cancel by client order ID if needed:
kraken order cancel --cl-ord-id "dca-2024-01-15-001" -o json 2>/dev/null
1. Submit order (capture exit code and response)
2. If exit code != 0 and error == "network":
a. Wait 2 seconds
b. Check open-orders for the order (by cl-ord-id or recent orders)
c. If found → order succeeded, proceed
d. If not found → check trades-history
e. If in trades → order filled, proceed
f. If absent from both → safe to retry
3. Retry with same cl-ord-id
The CLI returns rate limit errors immediately with no internal retry. The error includes actionable fields for the agent to decide next steps.
On rate_limit error:
suggestion field for specific guidance on what limit was hit and how to adapt.docs_url field for the relevant Kraken documentation.# { "error": "rate_limit", "suggestion": "...", "docs_url": "...", "retryable": true }
kraken status -o json 2>/dev/null
If status succeeds, the rate limit has cleared.
Limit orders may partially fill. Check order status:
kraken query-orders <TXID> -o json 2>/dev/null
Fields: vol (requested volume), vol_exec (filled volume), status (open, closed, canceled) — query-orders returns Kraken's raw wire fields, unlike open-orders/closed-orders which use the CLI schema (volume, volume_executed).
If partially filled and the remaining volume is needed, amend or place a new order for the remaining amount.
An order stuck in open state that should have filled or been canceled:
kraken query-orders <TXID> -o json 2>/dev/null
kraken order cancel <TXID> -o json 2>/dev/null
kraken open-orders -o json 2>/dev/null
--cl-ord-id for all orders in automated loops.kraken feedback.