Recued
Menu
← Back to recipes

Cancel one Alpaca order

by recued-core v2 7 views

Use “Cancel one Alpaca order” in Recued. Read one resting order, show what it actually is, then cancel it. The read runs first and on purpose: an order id is a uuid, and approving orderid: 7a3f… is approving a string rather than a decision.

How it works 11 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (11 steps)
target_id trim
Trim whitespace from setting order id
target_required template
Generate text from a template
fail: step.target_id is_empty
before ?
order default
Apply default
symbol default
Apply default
resolved template
Generate text from a template
cancellable template
Generate text from a template
fail: step.order.status not_equal new
cancel ?
after_raw ?
after default
Apply default
card to_summary
Format results as a summary card
Settings 2 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

alpaca setting =
order id setting =

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Read your Alpaca connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

alpaca alpacatradingorderscancelbrokerageapproval-gatedpack:alpaca-trading

Details

11 steps 2 configurable settings recipe_id: cancel-order-alpaca