Expand description
§Paper Account
paper_account is a Rust library for simulating trading accounts without using real money.
It provides functionality for managing a paper trading account, including:
- Account creation and management
- Order placement (market, limit)
- Position tracking
- Portfolio valuation
- Trade history
Re-exports§
pub use account::Account;pub use order::Order;pub use order::OrderType;pub use order::OrderSide;pub use order::OrderStatus;pub use position::Position;pub use error::Error;pub use types::Symbol;pub use types::Quantity;pub use types::Price;pub use types::TradeId;pub use types::OrderId;pub use types::AccountId;pub use config::Config;pub use manager::AccountManager;
Modules§
Functions§
- init
- Initialize the library with default configuration
- init_
logger - Initialize the logger with a specific log level
- init_
with_ config - Initialize the library with custom configuration