/**
 * Trading user row shape shared by Cosmos `trading_users` documents and legacy Postgres `users` table.
 */

export interface UserConfig {
    user_id: string;
    first_name: string;
    last_name: string;
    email: string;
    FMP_API_KEY: string;
    ALPACA_API_KEY: string;
    ALPACA_SECRET_KEY: string;
    REAL_ALPACA_API_KEY: string;
    REAL_ALPACA_SECRET_KEY: string;
    role: string;
    trade_enable: boolean;
    drop_threshold_for_buy: number;
    gain_threshold_for_sell: number;
    market_poll_interval_in_seconds: number;
}
