declare namespace Model {
    /** 行情推送 响应 */
    interface ResQuotePush {
        marketId: number;
        goodsCode: string;
        open: number;
        close: number;
        high: number;
        low: number;
        preClose: number;
        volume: number;
        latestTime: string;
        latestPrice: number;
    }

    /** 查询K线数据 请求 */
    interface ReqQueryKline {
        goodsCode: string;
    }

    /** 查询K线数据 响应 */
    interface ResQueryKline {
        open: number;
        close: number;
        high: number;
        low: number;
        preClose: number;
        volume: number;
        latestTime: string;
    }

    /** 查询分时数据 请求 */
    interface ReqQueryTimeline {
        goodsCode: string;
    }

    /** 查询分时数据 响应 */
    interface ResQueryTimeline {
        preClose: number;
        list: {
            price: number;
            latestTime: string;
        }[];
        openTime: {
            endTime: string;
            startTime: string;
        }[]
    }
}