Skip to main content

Overview

The ghost.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 via POST /v1/webhooks with "ghost.tp1" in the events array.

Payload

Data Fields

string
UUID of the trade that fired TP1.
string
Asset symbol. One of: BTC, ETH, SOL, TAO, GOLD.
decimal
Original entry price in USD.
decimal
Price at which the TP1 partial sell executed (may be null if not separately tracked).
decimal
Locked P&L from the partial sell in USD. Null if not yet persisted.
boolean
Always true for TP1 events — TP1 execution always activates the Break-Even Shield.
string
ISO 8601 timestamp when TP1 was detected by the dispatcher.

Delivery

Delivered as a signed POST to your registered URL with:
  • X-AIOKA-Event: ghost.tp1
  • X-AIOKA-Signature: sha256=<hex>
  • X-AIOKA-Timestamp: <unix>
See Register Webhook for signature verification.