set_perp_tpsl

shallow

ing.crank/crank · Verify this server

Set, amend or cancel a take profit / stop loss on an ALREADY-OPEN perp position (non-custodial). place_perp_order can attach TP/SL only inline on the order that OPENS a position; this adds one to a position that is already open. Currently supported on Jupiter Perps (position_id = the position pubkey, as returned by perp_positions_all); other venues are refused. At least one of take_profit_price / stop_loss_price is required. size_pct in (0, 100] is how much of the position the trigger closes. Both are passed through exactly as given -- Crank never chooses or adjusts a trigger price or size. Returns an UNSIGNED transaction to sign; Crank never signs. ``jurisdiction``: geo-gated like every perps write, including the AU block -- see place_perp_order. ``idempotency_key`` (optional): see cancel_perp_order -- reuse the same key across the build call and its ``signed_transaction`` completion call. ``signed_transaction`` / ``verify`` (two-phase execution): see place_perp_order. A TP/SL moves no position when set, so confirming the signature landed IS the verification. ``venue_action`` (optional, completion leg only): pass back the build leg's ``extra['venue_action']`` (Jupiter's create-tpsl / update-tpsl, or None when the caller can broadcast itself) so the signed bytes are relayed through the venue's own execute endpoint when the build needs it. AMEND / CANCEL a resting trigger: read its ``request_id`` off perp_positions_all (positions[].tpsl_triggers[].request_id), then call this tool with ``request_id`` and either ``trigger_price`` (amend -- moves the trigger to that price) or ``cancel=True`` (cancel it). position_id and take_profit_price/stop_loss_price are not used in those modes, and mixing them with request_id is refused. Same gates (including the AU block), same two-phase flow -- pass the same request_id / cancel on the completion call. Permission mode: an on-chain ACTION, not a configuration write -- it is ladder-gated like every value-bearing tool, so observe denies it (PERMISSION_MODE_BLOCKED) and propose defers it.

100.0/100

1 trials · measured 13 days ago

set_perp_tpsl scores 100.0/100 on Vouch's measured behaviour index, from 1 real invocation trials against ing.crank/crank, measured 6 Oct 2026 under methodology v0.2.0. Every measured component scored 100.

Component breakdown

ComponentWeightValue
Reliability35%not applicable
Schema integrity25%100.0
Failure behaviour15%not applicable
Latency15%not applicable
Concurrency10%not applicable

Tool details

Transport
remote
Credential class
not-probed
Input schema
not declared
Output schema
not declared
Side-effect classification
unclassified

Score history

DayScoreTierMethodology
2026-10-06100.0shallowv0.2.0

Probe evidence

ProbeOutcomes
schema_integritypass: 1

Raw request/response logs are not archived yet — the outcome counts above are drawn directly from every recorded trial.

Embed this score

Available for every tool, scored or not — not a verification perk. Always links back to this page.

Vouch score: set_perp_tpsl
[![Vouch score](https://vouch.tools/api/tools/8adb9293-f288-446b-b690-ff6e53ea155e/badge.svg)](https://vouch.tools/tools/8adb9293-f288-446b-b690-ff6e53ea155e)
set_perp_tpsl — Vouch