Trading Assistant API Documentation - v0.1.0
    Preparing search index...

    Interface Position

    interface Position {
        symbol: string;
        quantity: number;
        avg_cost: number;
        current_price: number;
        market_value: number;
        cost_basis: number;
        unrealized_pnl: number;
        unrealized_pnl_pct: number;
        position_size_pct: number;
        stop_loss?: number | null;
        take_profit?: number | null;
        sector?: string | null;
        strategy_type?: StrategyType | null;
        entry_date?: string | null;
        holding_days?: number | null;
        snapshot_time?: string;
    }
    Index

    Properties

    symbol: string
    quantity: number
    avg_cost: number
    current_price: number
    market_value: number
    cost_basis: number
    unrealized_pnl: number
    unrealized_pnl_pct: number
    position_size_pct: number
    stop_loss?: number | null
    take_profit?: number | null
    sector?: string | null
    strategy_type?: StrategyType | null

    Optionalentry_date

    entry_date?: string | null
    holding_days?: number | null
    snapshot_time?: string