Trigger

Use the trigger service to place orders to be executed if price is above/below a pre-defined level.

There are two types of actions. An Execute involves a modification to state, and a Query merely fetches information from state.

You can interact with the trigger service by sending HTTP requests to POST [TRIGGER_ENDPOINT]/execute for executes or POST [TRIGGER_ENDPOINT]/query for queries, alongside a JSON payload of the respective action.

HTTP requests must set the Accept-Encoding to include gzip, br or deflate

Endpoints

Testnet:

  • https://trigger.bartio-test.bro.trade/v1

Mainnet:

  • https://trigger.bera-prod.bro.trade/v1

Last updated