tradier 0.1.2

This project involves the development of a Rust library for managing trades and market data using the Tradier broker API. The main objective is to provide an efficient and secure interface for executing trades, retrieving real-time quotes, managing portfolios, and accessing historical market data. The library focuses on leveraging Rust's performance and concurrency advantages, enabling integration into high-frequency trading applications and data-intensive financial processing.
Documentation
use serde::Deserialize;

#[derive(Debug, Clone, Deserialize, PartialEq)]
#[serde(rename_all = "lowercase")]
#[non_exhaustive]
pub enum AccountType {
    Cash,
    Margin,
}

#[cfg(test)]
pub mod test_support {
    use serde::Serialize;

    #[derive(Debug, Serialize, proptest_derive::Arbitrary)]
    #[serde(rename_all = "lowercase")]
    pub enum AccountTypeWire {
        Cash,
        Margin,
    }
}