Skip to content

cents broker

Alpaca broker integration.

Terminal window
cents broker <subcommand> [OPTIONS] [ARGS]...
  • cents broker buy — Buy shares (paper trading).
  • cents broker list — List positions from broker.
  • cents broker sell — Sell shares (paper trading).
  • cents broker status — Check broker connection and account status.
  • cents broker sync — Sync positions from broker to cents.

Buy shares (paper trading).

Example: cents broker buy NVDA —qty 10

Synopsis

Terminal window
cents broker buy [OPTIONS] SYMBOL

Arguments

ArgumentTypeRequired
SYMBOLtextyes

Options

OptionTypeDefaultDescription
--qty/-q FLOATfloatNumber of shares
--thesis/-t TEXTtextLink to thesis ID
--yesbooleanfalseConfirm the action without prompting.

Example

Terminal window
cents broker buy NVDA --qty 10

List positions from broker.

Synopsis

Terminal window
cents broker list

Example

Terminal window
cents broker list

Sell shares (paper trading).

Example: cents broker sell NVDA —qty 10

Synopsis

Terminal window
cents broker sell [OPTIONS] SYMBOL

Arguments

ArgumentTypeRequired
SYMBOLtextyes

Options

OptionTypeDefaultDescription
--qty/-q FLOATfloatNumber of shares
--yesbooleanfalseConfirm the action without prompting.

Example

Terminal window
cents broker sell NVDA --qty 10

Check broker connection and account status.

Synopsis

Terminal window
cents broker status

Example

Terminal window
cents broker status

Sync positions from broker to cents.

Synopsis

Terminal window
cents broker sync [OPTIONS]

Options

OptionTypeDefaultDescription
--thesis/-t TEXTtextLink synced positions to thesis

Example

Terminal window
cents broker sync [OPTIONS]
Not financial advice. Cents is an educational and research tool for tracking your own investment theses. Outputs are model-generated and may be inaccurate. You are solely responsible for your own investment decisions.