> For the complete documentation index, see [llms.txt](https://docs.usewire.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.usewire.xyz/getting-started/alpaca.md).

# Connect Alpaca

US options on Wire trade through **your own Alpaca account**. Wire is not a broker and does not open accounts — you need an Alpaca account with options trading enabled, which you [set up directly with Alpaca](https://alpaca.markets/).

## Linking

You link the account by generating a set of **API keys** in your Alpaca dashboard and pasting them into Wire's Alpaca setup screen (key and secret).

Unlike Hyperliquid, Alpaca orders are not signed in your browser — they are placed by Wire's backend calling Alpaca's API on your behalf. Your keys are therefore held by Wire, encrypted at rest, and never returned to the browser after linking. The setup screen shows only a masked fragment of the key so you can tell which credentials are linked.

Because Wire holds these keys, treat them the way you would any credential:

* Generate keys **for Wire specifically**, rather than reusing a set you have pasted elsewhere. Then revoking Wire's access costs you nothing else.
* You can **revoke them at any time from your Alpaca dashboard**. That takes effect immediately and independently of Wire — nothing in Wire can prevent it or keep working after it.

## Live and paper accounts

Alpaca issues separate keys for live and paper trading, and the setup screen warns you when a key looks like a paper key. Paper keys work, and are a reasonable way to look around before committing, but orders placed with them are simulated and will not appear in your live account.

## What you can trade

Single-leg long options — buying calls and puts — as limit orders. Multi-leg strategies and writing options are not currently supported through Wire.

Alpaca's own contract fees and any regulatory fees apply as normal; they are set and collected by Alpaca, and Wire adds no fee of its own on options orders.

## Your positions stay yours

As with Hyperliquid, the account is yours and the positions live there. If Wire is unreachable, you manage them in Alpaca directly.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.usewire.xyz/getting-started/alpaca.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
