← ClaudeAtlas

strike-accountlisted

Reading Strike Finance account state through the signed REST API - the account object, balances, portfolio, open positions, open orders, closed positions with realised PnL, order and fill history, funding actually paid, and the transaction ledger. Use before sizing any trade, when checking whether protection exists, when reconciling a send, and when building a post-trade review. Read-only; nothing here changes anything.
Mendurim/strikegrok-trading-desk · ★ 0 · AI & Automation · score 75
Install: claude install-skill Mendurim/strikegrok-trading-desk
# Strike account Nine read-only endpoints. They are the desk's only view of its own money, and the only acceptable one: a position from a brief an hour ago is not a position. Signing, the API wallet and the `strike_request.py` helper are in `strike-auth`. ## 1. Live state ```bash cd /workspace/strikegrok python3 scripts/strike_request.py GET /v2/account # equity, margin usage, maxWithdrawAmount python3 scripts/strike_request.py GET /v2/balances # per-asset balances python3 scripts/strike_request.py GET /v2/positions # size, entry, leverage, liquidation, uPnL python3 scripts/strike_request.py GET /v2/openOrders # resting orders, with the numeric ids cancels need python3 scripts/strike_request.py GET /v2/portfolio # account-level portfolio view ``` Read account, positions and open orders before sizing anything: equity sets the risk budget, positions set what is already at risk, and resting orders are exposure that has not happened yet. **`GET /v2/openOrders` is the protection check.** A position with no matching reduce-only trigger is unprotected - an incident under `desk-incident-response`, reported the moment it is seen, not a footnote. Remember order status **5 = untriggered**. A resting stop that has not fired lives there, not in `2 open`. ## 2. History ```bash python3 scripts/strike_request.py GET /v2/closedPositions --query symbol=ADA-USD --query limit=25 python3 scripts/strike_request.py GET /v2/history/order --query symbol=ADA-USD --query limi