use serde::{Deserialize, Serialize};
use crate::types::{
CountryCode, ExchangeCode, Industry, MarketCapitalization, MarketValue, Price, Sector, Ticker,
Volume,
};
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct CompanyScreenerEntry {
pub symbol: Ticker,
pub company_name: String,
pub market_cap: MarketCapitalization,
pub sector: Sector,
pub industry: Industry,
pub beta: MarketValue,
pub price: Price,
pub last_annual_dividend: MarketValue,
pub volume: Volume,
pub exchange: String,
pub exchange_short_name: ExchangeCode,
pub country: CountryCode,
pub is_etf: bool,
pub is_fund: bool,
pub is_actively_trading: bool,
}