Every action below is available as a verb in Cerebral OS — callable from a Cerebral, a Map, or the Runtime API. All executions are governed, audited, and dry-run safe.
Cancel All Orders
alpaca:cancel_all_orders
Attempts to cancel all open orders. A response will be provided for each order that is attempted to be cancelled. If an order is no longer cancelable, the server reject the request, See the docs
Write
High risk
Cancel Order
alpaca:cancel_order
Attempts to cancel an open order. If the order is no longer cancelable (example: status=`filled`), the server will reject the request, See the docs
Write
High risk
Close All Positions
alpaca:close_all_positions
Closes (liquidates) all of the account’s open long and short positions. A response will be provided for each order that is attempted to be cancelled. If an order is no longer cancelable, the server will reject the request, See the docs
Write
High risk
Close Position
alpaca:close_position
Closes (liquidates) the account’s open position. Works for both long and short positions, See the docs
Write
High risk
Get Account Info
alpaca:get_account_info
Returns the account info, See the docs
Read
Low risk
List Orders
alpaca:list_orders
Retrieves a list of orders for the account, filtered by the supplied query parameters, if no filter given all will be returned, See the docs
Read
Low risk
List Positions
alpaca:list_positions
Retrieves a list of the account’s open positions, See the docs
Read
Low risk
Place Order
alpaca:place_order
Places a new order for the given account. An order request may be rejected if the account is not authorized for trading, or if the tradable balance is insufficient to fill the order, See the docs
Write
Medium risk