Brokers
Luxis uses brokers for two things: data (prices, for backtests and lives) and execution (the account a live trades on).
Which does what
| Broker | Data | Trading |
|---|---|---|
| Luxis data (built in) | Backtests only | No |
| Alpaca | Yes | Yes, paper and live |
| Polygon.io | Yes | No |
| Databento | Yes | No |
| Tradier | Yes | Not yet |
| Webull | Live data only | Not yet |
Lives trade on Alpaca. Webull has no historical data for backtests.
Adding one
Settings → Brokers → Add Broker. Pick the type, give it a label you will recognise, and paste the API key and secret from the broker's site. For Alpaca, choose the mode (paper or live) and the data feed: IEX is free, SIP is the full market. Use SIP if you want a live's prices to match a Polygon backtest.
Tick Use as data source for a broker you want in the Data Broker lists.
Paper accounts
A paper account trades with the broker's pretend money, at real prices. Add your Alpaca paper keys as one broker and your live keys as another: they show as (paper) and (live) wherever you pick an account.
Several lives on one account
More than one live can trade on the same account. Luxis keeps track of which live holds what: the account's page shows "Held by" beside each position, and stopping a live touches only its own positions.