declare namespace Model {
    /** 商品盘面 */
    interface QuoteDay {
        Lastturnover: number;
        ask: number;
        ask2: number;
        ask3: number;
        ask4: number;
        ask5: number;
        ask6: number;
        ask7: number;
        ask8: number;
        ask9: number;
        ask10: number;
        askorderid: number;
        askorderid2: number;
        askorderid3: number;
        askorderid4: number;
        askorderid5: number;
        askordervolume: number;
        askordervolume2: number;
        askordervolume3: number;
        askordervolume4: number;
        askordervolume5: number;
        askordervolume6: number;
        askordervolume7: number;
        askordervolume8: number;
        askordervolume9: number;
        askordervolume10: number;
        askqueueinfo: string;
        askvolume: number;
        askvolume2: number;
        askvolume3: number;
        askvolume4: number;
        askvolume5: number;
        askvolume6: number;
        askvolume7: number;
        askvolume8: number;
        askvolume9: number;
        askvolume10: number;
        averageprice: number;
        bid: number;
        bid2: number;
        bid3: number;
        bid4: number;
        bid5: number;
        bid6: number;
        bid7: number;
        bid8: number;
        bid9: number;
        bid10: number;
        bidorderid: number;
        bidorderid2: number;
        bidorderid3: number;
        bidorderid4: number;
        bidorderid5: number;
        bidordervolume: number;
        bidordervolume2: number;
        bidordervolume3: number;
        bidordervolume4: number;
        bidordervolume5: number;
        bidordervolume6: number;
        bidordervolume7: number;
        bidordervolume8: number;
        bidordervolume9: number;
        bidordervolume10: number;
        bidqueueinfo: string;
        bidvolume: number;
        bidvolume2: number;
        bidvolume3: number;
        bidvolume4: number;
        bidvolume5: number;
        bidvolume6: number;
        bidvolume7: number;
        bidvolume8: number;
        bidvolume9: number;
        bidvolume10: number;
        calloptionpremiums: number;
        calloptionpremiums2: number;
        calloptionpremiums3: number;
        calloptionpremiums4: number;
        calloptionpremiums5: number;
        cleartime: number;
        exchangecode: number;
        exchangedate: number;
        goodscode: string;
        grepmarketprice: number;
        highest: number;
        holdincrement: number;
        holdvolume: number;
        iep: number;
        iev: number;
        inventory: number;
        iscleared: number;
        issettled: number;
        last: number;
        lastlot: number;
        lasttime: string;
        lastvolume: number;
        limitdown: number;
        limitup: number;
        lowest: number;
        nontotalholdervolume: number;
        nontotallot: number;
        nontotalturnover: number;
        nontotalvolume: number;
        opened: number;
        opentime: string;
        orderid: number;
        preclose: number;
        preholdvolume: number;
        presettle: number;
        publictradetype: string;
        putoptionpremiums: number;
        putoptionpremiums2: number;
        putoptionpremiums3: number;
        putoptionpremiums4: number;
        putoptionpremiums5: number;
        settle: number;
        strikeprice: number;
        totalaskvolume: number;
        totalbidvolume: number;
        totallot: number;
        totalturnover: number;
        totalvolume: number;
        utclasttime: string;
    }

    /** K线历史数据 */
    interface QueryHistoryDatasRsp {
        o: number;
        h: number;
        l: number;
        c: number;
        tv: number;
        tt: number;
        hv: number;
        s: number;
        ts: string;
        f: boolean;
    }

    /** 分时历史数据 */
    interface QueryTSDataRsp {
        Count: number;
        decimalPlace: number;
        endTime: string;
        goodsCode: string;
        outGoodsCode: string;
        preSettle: number;
        startTime: string;
        tradeDate: string;
        historyDatas: QueryHistoryDatasRsp[];
        runSteps: QueryTSDataRsp.RunSteps[];
    }

    namespace QueryTSDataRsp {
        interface RunSteps {
            end: string;
            endflag: number;
            endtime: string;
            endweekday: number;
            groupid: number;
            runstep: number;
            sectionid: number;
            start: string;
            startflag: number;
            starttime: string;
            startweekday: number;
            tradeweekday: number;
        }
    }
}