claude-handoff
MAmattpocock/skills337k近 7 天新增 4,978 个 star
Manage stop-loss and take-profit orders for risk-bounded positions.
Use this skill for:
After buying, place a stop-loss below entry:
# Entry
kraken order buy BTCUSD 0.01 --type limit --price 60000 -o json 2>/dev/null
# Stop-loss (triggers market sell if price drops to 57000)
kraken order sell BTCUSD 0.01 --type stop-loss --price 57000 -o json 2>/dev/null
Place a take-profit above entry:
# Take-profit (triggers market sell if price rises to 65000)
kraken order sell BTCUSD 0.01 --type take-profit --price 65000 -o json 2>/dev/null
Place all three as separate orders:
# 1. Entry
kraken order buy BTCUSD 0.01 --type limit --price 60000 -o json 2>/dev/null
# 2. Stop-loss
kraken order sell BTCUSD 0.01 --type stop-loss --price 57000 -o json 2>/dev/null
# 3. Take-profit
kraken order sell BTCUSD 0.01 --type take-profit --price 65000 -o json 2>/dev/null
When one exit fills, cancel the other to avoid double exposure:
kraken order cancel <OTHER_TXID> -o json 2>/dev/null
A stop-loss-limit triggers a limit order instead of market, giving price control but risking no fill in fast moves:
kraken order sell BTCUSD 0.01 --type stop-loss-limit --price 57000 --price2 56800 -o json 2>/dev/null
--price is the trigger, --price2 is the limit price for the resulting order.
Follows the market up, sells on reversal:
# Trail $500 below the high
kraken order sell BTCUSD 0.01 --type trailing-stop --price +500 -o json 2>/dev/null
As BTC rises from 60000 to 65000, the stop moves from 59500 to 64500. On a $500 drop from any high, it triggers.
kraken futures order sell PF_XBTUSD 1 --type stop --stop-price 57000 --trigger-signal mark --reduce-only -o json 2>/dev/null
Use --trigger-signal mark or index to avoid stop hunts on last-trade wicks. Use --reduce-only to prevent the stop from opening a short.
Monitor stops after placement:
kraken open-orders -o json 2>/dev/null
Stream execution updates to detect when a stop triggers:
kraken ws executions -o json 2>/dev/null
When one side of a bracket fills, immediately cancel the other.
--reduce-only on futures exits to prevent accidental position flips.--validate. Futures orders have no dry run: rehearse on kraken futures paper, then get approval for the exact command.kraken feedback.MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
AFaffaan-m/ECC315k近 7 天新增 4,381 个 star
AFaffaan-m/ECC315k近 7 天新增 4,381 个 star
AFaffaan-m/ECC315k近 7 天新增 4,381 个 star
DIDietrichGebert/ponytail203k近 7 天新增 4,904 个 star