← ClaudeAtlas

strike-positionslisted

Managing Strike Finance positions through the signed REST API - leverage per symbol, cross and isolated margin mode, reading margin usage and distance to liquidation, attaching protection to an existing position, and closing with reduce-only orders. Use when setting up a market before a first trade, when a position needs protecting or closing, or when checking liquidation risk. Leverage, protection and closes write; reads are open to the Risk Manager.
Mendurim/strikegrok-trading-desk · ★ 0 · AI & Automation · score 75
Install: claude install-skill Mendurim/strikegrok-trading-desk
# Strike positions Reads here are open to the Risk Manager and Trade Reviewer. The write paths - leverage, margin mode, protection, closing - belong to the Execution Trader alone, under `strike-orders` rules. Signing is in `strike-auth`. ## 1. Leverage ```bash cd /workspace/strikegrok python3 scripts/strike_request.py POST /v2/leverage --body-file lev.json # {"symbol":"ADA-USD","leverage":5} ``` - Applies to **new positions only**. An open position keeps the leverage it opened at, so leverage is set *before* an entry, never as a repair afterwards. - The response carries the resulting maximum notional at that leverage. Size against that figure, not against the headline number: a size that fits at the headline may not fit at the notional the position actually reaches. - High leverage is not the desk's default. The Risk Manager sizes from stop distance and risk budget; leverage is whatever falls out of that arithmetic, and `risk-limits.md` may only tighten it. - Raising leverage needs the user's approval. Lowering it to comply with a limit does not. ## 2. Margin mode ```bash python3 scripts/strike_request.py POST /v2/marginMode --body-file mode.json # {"symbol":"ADA-USD","marginMode":"isolated"} ``` Strike **rejects a margin-mode change while a position is open** on that symbol. Read the response rather than assuming it applied. Adjusting isolated margin on a live position is `strike-advanced`. ## 3. Reading the risk ```bash python3 scripts/strike_request.py GET /v2/