Expand description
Account types such as CashAccount and MarginAccount.
Re-exports§
pub use crate::accounts::any::AccountAny;pub use crate::accounts::base::BaseAccount;pub use crate::accounts::cash::CashAccount;pub use crate::accounts::margin::MarginAccount;
Modules§
- any
- Enum wrapper providing a type-erased view over the various concrete
Accountimplementations. - base
- Base traits and common types shared by all account implementations.
- cash
- Implementation of a simple cash account – an account that cannot hold leveraged positions.
- margin
- Implementation of a margin account capable of holding leveraged positions and tracking instrument-specific leverage ratios.
- stubs
- Lightweight stub implementations useful in unit tests where a full account object is unnecessary.