Trading Action

Place buy/sell orders via Alpaca or Tradier.

Configuration

Broker*
Select broker
Broker Account*
Select broker account
Broker account used to submit this order.
Action*
Select...
Listing*
Select market...
Order Size
Select...
Shown when provider is 'alpaca'.
Quantity
Quantity to trade
Shown when orderSizingMode is not 'notional' and provider is one of 'alpaca', 'tradier'.
Notional
Dollar amount
Shown when orderSizingMode is 'notional' and provider is 'alpaca'.
Order Type*
Select...
Preview Order
Disabled
Shown when provider is 'tradier'.
Limit Price
Required for limit and stop-limit orders
Shown when orderType is one of 'limit', 'stop_limit' and provider is one of 'alpaca', 'tradier'.
Stop Price
Required for stop/stop-limit orders
Shown when orderType is one of 'stop', 'stop_limit' and provider is one of 'alpaca', 'tradier'.
Trail Price
Trailing stop price offset (use price or percent)
Shown when orderType is 'trailing_stop' and provider is 'alpaca'.
Trail Percent
Trailing stop percent offset (use percent or price)
Shown when orderType is 'trailing_stop' and provider is 'alpaca'.
Time in Force
Defaults vary by provider

Tools

trading_place_order

Place buy or sell orders via Alpaca or Tradier.

Input

ParameterTypeRequiredDescription
providerstringYesBroker provider selected for account and listing availability.
portfolioIdentityjsonYesCanonical broker account identity selected for this order.
listinglistingIdentityYesStructured listing payload for the asset to trade.
sidestringYesOrder side: buy or sell.
quantitynumberNoQuantity to trade when the selected provider sizing mode is quantity.
notionalnumberNoDollar amount to trade when supported by the selected provider.
orderSizingModestringNoOrder sizing mode selected from trading provider capabilities.
orderTypestringNoOrder type selected from trading provider capabilities.
timeInForcestringNoTime in force (day, gtc, gfd, etc.).
limitPricenumberNoLimit price (required for limit orders).
stopPricenumberNoStop price when required by the selected order type.
trailPricenumberNoTrailing price offset when supported by the selected order type.
trailPercentnumberNoTrailing percent offset when supported by the selected order type.
previewbooleanNoPreview the provider order without submitting when supported.

Output

ParameterTypeDescription
summarystringStatus message for the order submission.
providerstringBroker/provider used for the order.
appOrderIdstringTrading Goose order ID.
clientOrderIdstringBroker client order identity for retries.
orderjsonNormalized order details and raw response.

Usage Instructions

Unified trading action block that submits orders from a selected broker account.

Notes

  • Category: tools
  • Type: trading_action