Tradesync
How it works

Event notifications

A webhook sends event information from Tradesync to a URL you configure. It lets another application react to activity as Tradesync reports it.

Events and delivery

Tradesync sends one HTTP POST per dispatched event to each configured webhook URL. The JSON body contains the individual event record, with its id, group, event, and fields specific to that kind of event.

Notification What it can tell you
Account event The account first connected, reconnected, or triggered an equity monitor
Trade event The account reported a position opening or closing, a pending order filling, or a change to a stop or target
Command event A trading command completed, was abandoned, or reported a change while still working

Trade events can come from manual trading, other software, or broker actions. A single action can produce separate notifications. For example, a close command can report success and the account can separately report that the position closed. See Execution and events for how these records relate during copying.

Event history also includes records saved for later inspection. For example, a copier can record why it skipped a trade in Copier Events. Look up that decision in event history even if a trade notification arrived for the original trade.

Authentication direction

Webhook authentication tells the receiving application how to authenticate the request coming from Tradesync:

Option Behaviour
None No configured authentication header
Basic auth Send the configured username and password as Basic authentication
Bearer token Send the configured token in the Authorization header
API key Send the configured header name and value

These are credentials for the receiving endpoint. They are separate from the API key and secret used by a client to call Tradesync's API, and from trading-account credentials.

Delivery limitations

Tradesync makes one delivery attempt per event and destination, with up to one second to connect and two seconds for the whole request. A connection failure, timeout, or error response ends that attempt. Failed deliveries have no automatic retry or replay. Creating or changing a webhook applies to future notifications.

For example, if your receiver was unavailable when a position closed, use trade event history to recover the reported close and the current trade record to check its state. Use the event's group and id together to recognise records you already processed. Requests can finish in a different order from the underlying events.

App guide and API reference

Task App guide API docs
Set up a webhook destination Webhooks Create webhook

Some linked references are not currently available on this site.