Skip to content
Notis

Track Alpaca trade exceptions in Bitbucket

When your Alpaca integration reports a rejected, failed, or unexpected order, send its details to Notis and open a Bitbucket issue for investigation.

Trigger

Webhook received

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

Action

Create an issue

Creates an issue in a repository.

Why this helps

Trading exceptions are easy to lose in a stream of alerts, leaving you to reconstruct order details before you can investigate.

  • Keep order identifiers and exception details together in an issue.
  • Give each reported exception a clear place for investigation and follow-up.
  • Reduce the need to switch between trading alerts and your code repository.

Setup

Build it in a few focused steps.

  • 1Connect Alpaca and Bitbucket once in the Notis portal.
  • 2Create an automation in Automations, New Automation, and give it a name.
  • 3In plain language, tell Notis to create a Bitbucket issue when an Alpaca exception arrives, including the supplied order details and next investigation step.
  • 4Pick the Webhook trigger and choose where Notis should send run reports.
  • 5Send one real exception to the Webhook and check the resulting issue and run report.

Questions about this workflow

Does this detect Alpaca exceptions by itself?

No. Alpaca exposes no trigger event here. Your Alpaca integration or backend must send the exception details to the Notis Webhook.

What details should the request include?

Include the order identifier, the exception or status, relevant timestamps, and any context your investigation needs. Notis can only use details included in the request.

When this happens · Trigger

Do this · Action

Creates an issue in a repository.

Supported Triggers and Actions

Notis builds workflows that link Alpaca to Bitbucket. A trigger fires from one place; an action lands in another.

Alpaca triggers

Bitbucket actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Create a branch

Creates a branch in a repository.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Approve Pull Request

Approves a pull request as the authenticated user.

ActionInstant

Create an issue

Creates an issue in a repository.

ActionInstant

Browse repository path

Retrieves file content or lists directory contents at a revision in a Bitbucket repository.

ActionInstant

Create an issue comment

Adds a comment to an existing issue.

ActionInstant

Commit files

Creates a commit that adds, replaces, or deletes text files in a repository.

ActionInstant

Create a pull request

Creates a pull request in a repository.

ActionInstant

Create repository

Creates a Git repository in a workspace.

ActionInstant

Connect any two apps with Notis in the middle.

Alpaca and Bitbucket, or any other combination from 1,700+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with $20 of usage included.
No card. Works with personal or business Bitbucket.