pub enum Commands {
Show 16 variants
Capabilities,
Env {
command: EnvCommands,
},
Instructions,
Disclaimer {
command: DisclaimerCommands,
},
Auth {
command: AuthCommands,
},
Accounts {
command: AccountsCommands,
},
Orders {
command: OrdersCommands,
},
Transactions {
command: TransactionsCommands,
},
User {
command: UserCommands,
},
Portfolio {
command: PortfolioCommands,
},
Trade {
command: TradeCommands,
},
Safety {
command: SafetyCommands,
},
Plan {
command: PlanCommands,
},
Market {
command: MarketCommands,
},
Options {
command: OptionsCommands,
},
Agent {
command: AgentCommands,
},
}Variants§
Capabilities
Machine-readable command catalog for agents
Env
Environment variable schema and precedence
Fields
§
command: EnvCommandsInstructions
Agent system prompt / tool-use instructions
Disclaimer
Trading risk disclaimer (required before live trades)
Fields
§
command: DisclaimerCommandsAuth
OAuth authentication and token management
Fields
§
command: AuthCommandsAccounts
Account numbers, balances, and positions
Fields
§
command: AccountsCommandsOrders
Order entry, preview, cancel, replace
Fields
§
command: OrdersCommandsTransactions
Transaction history
Fields
§
command: TransactionsCommandsUser
User preferences and streamer metadata
Fields
§
command: UserCommandsPortfolio
Portfolio summary across linked accounts
Fields
§
command: PortfolioCommandsTrade
Buy or sell equities with safety guardrails
Fields
§
command: TradeCommandsSafety
Safety limits config (safety.json) for agent trading guardrails
Fields
§
command: SafetyCommandsPlan
Multi-step trade plans (YAML/JSON) for LLM-generated rebalances
Fields
§
command: PlanCommandsMarket
Market Data API — quotes, history, instruments, hours
Fields
§
command: MarketCommandsOptions
Options chain, positions, and strategy orders (vertical, iron condor)
Fields
§
command: OptionsCommandsAgent
Long-running options agent driven by rules.yaml
Fields
§
command: AgentCommandsTrait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more