Documentation Index
Fetch the complete documentation index at: https://docs.aioka.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Theghost.tp1 event fires once per trade, at the moment the Ghost Trader executes
a TP1 (Take Profit 1) partial sell on any supported asset. TP1 closes 50% of the
position and activates the Break-Even Shield, raising the stop-loss to the entry price.
Assets covered: BTC, ETH, SOL, TAO, GOLD
Latency: Up to 30 seconds (poll-based dispatcher).
Subscribe
Register viaPOST /v1/webhooks with "ghost.tp1" in the events array.
Payload
Data Fields
UUID of the trade that fired TP1.
Asset symbol. One of:
BTC, ETH, SOL, TAO, GOLD.Original entry price in USD.
Price at which the TP1 partial sell executed (may be null if not separately tracked).
Locked P&L from the partial sell in USD. Null if not yet persisted.
Always
true for TP1 events — TP1 execution always activates the Break-Even Shield.ISO 8601 timestamp when TP1 was detected by the dispatcher.
Delivery
Delivered as a signedPOST to your registered URL with:
X-AIOKA-Event: ghost.tp1X-AIOKA-Signature: sha256=<hex>X-AIOKA-Timestamp: <unix>