Trailing Stop Runner
PREREQUISITE: Load the following skills to execute this recipe:
kraken-stop-take-profit,kraken-spot-execution
Enter a position and attach a trailing stop to capture trend profits while limiting downside.
Steps
- Get current price:
kraken ticker BTCUSD -o json 2>/dev/null - Enter position (requires human approval):
kraken order buy BTCUSD 0.01 --type market -o json 2>/dev/null - Verify fill:
kraken trades-history -o json 2>/dev/null - Set trailing stop (e.g., $500 trail distance):
kraken order sell BTCUSD 0.01 --type trailing-stop --price +500 -o json 2>/dev/null - Verify stop is placed:
kraken open-orders -o json 2>/dev/null - Monitor via stream:
kraken ws ticker BTC/USD -o json 2>/dev/null - When the trailing stop triggers, verify the exit fill:
kraken trades-history -o json 2>/dev/null - Report entry price, exit price, and net P&L