API guide · Alpaca Trading API (United States)
Get the account connection keys and add them to Demeter. Live orders have not yet been verified.

Create an account at alpaca.markets. A paper (simulated) account is ready immediately; a live brokerage account needs identity verification and funding. Alpaca charges no commission on US-listed stocks and ETFs.
The dashboard has separate Paper and Live environments, each with its own keys. Start with Paper (Demeter's paper mode runs against Alpaca's paper endpoint) and switch to Live once you have watched it for a while.

In the dashboard's API Keys box press Generate New Key. You get an API Key ID and a Secret Key; the secret is shown only once, so copy both now. Regenerating invalidates the old pair.
For live trading, deposit USD by bank transfer in the dashboard. Demeter keeps its cash floor and never withdraws. Alpaca trading keys cannot move money out of the account.
Settings › Trading channels · API keys › Alpaca: paste the Key ID and Secret, choose Paper or Live to match the keys, set the stock broker to Alpaca and save.
Menu names may shift slightly as each service updates. If a step blocks you, tell us on the contact page.
Keys are kept encrypted on your own computer; the unlocking key lives in the operating system keychain. Copying the files elsewhere does not open them, and the vendor cannot see them. Issue every key without withdrawal permission. Demeter never needs it.
FAQ
Permissions, storage and lost keys, all in one place.
Demeter is free to download and free to use. After installing, paste the keys above into Settings › Trading channels · API keys and you are connected.