public Qot_GetSecuritySnapshot.Response qotGetSecuritySnapshot(QotMarket market, String[] symbols) { QotGetSecuritySnapshotExec exec = new QotGetSecuritySnapshotExec(market, symbols); request.execute(exec); return((Qot_GetSecuritySnapshot.Response)exec.getValue()); }
public Qot_Sub.Response qotSub(QotMarket market, String[] symbols, SubType[] subTypes) { QotSubExec exec = new QotSubExec(market, symbols, subTypes, true); request.execute(exec); return((Qot_Sub.Response)exec.getValue()); }
// public QotGetOrderBook.Response qotGetOrderBook(QotMarket market, String symbol, int num, IUpdateCallBack<OrderBooks> callback) //{ // QotGetOrderBookExec exec = new QotGetOrderBookExec(market, symbol, num, callback); //request.execute(exec); // return exec.getValue(); // } // public QotGetBroker.Response qotGetBroker(QotMarket market, String symbol, IUpdateCallBack<Brokers> callback) //{ // QotGetBrokerExec exec = new QotGetBrokerExec(market, symbol, callback); //request.execute(exec); // return exec.getValue(); // } // public QotGetHistoryKL.Response qotGetHistoryKL(QotMarket market, String symbol, RehabType rehabType, KLType klType, String beginTime, String endTime, int maxAckKLNum, long needKLFieldsFlag) //{ // QotGetHistoryKLExec exec = new QotGetHistoryKLExec(market, symbol, rehabType, klType, beginTime, endTime, maxAckKLNum, needKLFieldsFlag); //request.execute(exec); // return exec.getValue(); // } // public QotGetHistoryKLPoints.Response qotGetHistoryKLPoints(QotMarket market, String[] symbols, RehabType rehabType, KLType klType, String[] timeLists, NoDataMode noDataMode, int maxReqSecurityNum, long needKLFieldsFlag) //{ // QotGetHistoryKLPointsExec exec = new QotGetHistoryKLPointsExec(market, symbols, rehabType, klType, timeLists, noDataMode, maxReqSecurityNum, needKLFieldsFlag); //request.execute(exec); // return exec.getValue(); // } // public QotRequestHistoryKL.Response qotRequestHistoryKL(QotMarket market, String symbol, RehabType rehabType, KLType klType, String beginTime, String endTime, int maxAckKLNum, long needKLFieldsFlag, String nextReqKey) //{ // QotRequestHistoryKLExec exec = new QotRequestHistoryKLExec(market, symbol, rehabType, klType, beginTime, endTime, maxAckKLNum, needKLFieldsFlag, nextReqKey); //request.execute(exec); // return exec.getValue(); // } // public QotGetRehab.Response qotGetRehab(QotMarket market, String[] symbols) //{ // QotGetRehabExec exec = new QotGetRehabExec(market, symbols); //request.execute(exec); // return exec.getValue(); // } public Qot_GetStaticInfo.Response qotGetStaticInfo(QotMarket market, SecurityType secType, String[] symbols) { QotGetStaticInfoExec exec = new QotGetStaticInfoExec(market, symbols, secType); request.execute(exec); return((Qot_GetStaticInfo.Response)exec.getValue()); }
public Qot_GetTicker.Response qotGetTicker(QotMarket market, String symbol, int maxRetNum, IUpdateCallBack callback) { QotGetTickerExec exec = new QotGetTickerExec(market, symbol, maxRetNum, callback); request.execute(exec); return((Qot_GetTicker.Response)exec.getValue()); }
public QotSubExec(QotMarket market, String[] symbols, SubType[] subTypes, bool isSubOrUnSub) { this.market = market; this.symbols = symbols; this.subTypes = subTypes; this.isSubOrUnSub = isSubOrUnSub; }
//public Qot_GetTradeDate.Response qotGetTradeDate(QotMarket market, String beginTime, String endTime) //{ // QotGetTradeDateExec exec = new QotGetTradeDateExec(market, beginTime, endTime); // request.execute(exec); // return exec.getValue(); //} public Qot_RegQotPush.Response qotRegQotPush(QotMarket market, String[] symbols, SubType[] subTypes) { QotRegQotPushExec exec = new QotRegQotPushExec(market, symbols, subTypes); request.execute(exec); return((Qot_RegQotPush.Response)exec.getValue()); }
public Qot_GetBasicQot.Response stockBasicInfo(QotMarket market, String[] symbol, IUpdateCallBack callback) { QotGetBasicQotExec exec = new QotGetBasicQotExec(market, symbol, callback); request.execute(exec); return((Qot_GetBasicQot.Response)exec.getValue()); }
public QotRegQotPushExec(QotMarket market, String[] symbols, SubType[] subTypes, bool isFirstPush, bool isRegOrUnReg) { this.market = market; this.subTypes = subTypes; this.symbols = symbols; this.isFirstPush = isFirstPush; this.isRegOrUnReg = isRegOrUnReg; }
public QotGetHoldingChangeListExec(QotMarket market, String symbol, int holderCategory, String beginTime, String endTime) { this.market = market; this.symbol = symbol; this.holderCategory = holderCategory; this.beginTime = beginTime; this.endTime = endTime; }
public QotGetOptionChainExec(QotMarket market, String symbol, String beginTime, String endTime, int type, int condition) { this.market = market; this.symbol = symbol; this.beginTime = beginTime; this.endTime = endTime; this.type = type; this.condition = condition; }
public QotGetHistoryKLPointsExec(QotMarket market, String[] symbols, RehabType rehabType, KLType klType, String[] timeLists, Qot_GetHistoryKLPoints.NoDataMode noDataMode, int maxReqSecurityNum, long needKLFieldsFlag) { this.market = market; this.symbols = symbols; this.rehabType = rehabType; this.klType = klType; this.noDataMode = noDataMode; this.timeLists = timeLists; this.maxReqSecurityNum = maxReqSecurityNum; this.needKLFieldsFlag = needKLFieldsFlag; }
/** * * @param market * @param symbol * @param rehabType * @param klType * @param beginTime * @param endTime * @param maxAckKLNum * @param needKLFieldsFlag */ public QotGetHistoryKLExec(QotMarket market, String symbol, RehabType rehabType, KLType klType, String beginTime, String endTime, int maxAckKLNum, long needKLFieldsFlag) { this.market = market; this.symbol = symbol; this.rehabType = rehabType; this.klType = klType; this.beginTime = beginTime; this.endTime = endTime; this.maxAckKLNum = maxAckKLNum; this.needKLFieldsFlag = needKLFieldsFlag; }
public QotGetOrderBookExec(QotMarket market, String symbol, int num, IUpdateCallBack callback) { this.market = market; this.symbol = symbol; this.num = num; if (this.num > 10) { this.num = 10; } this.callback = callback; }
public QotGetTickerExec(QotMarket market, String symbol, int maxRetNum, IUpdateCallBack callback) { this.market = market; this.symbol = symbol; this.maxRetNum = maxRetNum; if (maxRetNum > 1000) { this.maxRetNum = 1000; } this.callback = callback; }
public QotGetKLExec(QotMarket market, String symbol, RehabType rehabType, KLType klType, int reqNum, IUpdateCallBack callback) { this.market = market; this.symbol = symbol; this.rehabType = rehabType; this.klType = klType; this.reqNum = reqNum; if (this.reqNum > 1000) { this.reqNum = 1000; } this.callback = callback; }
public QotGetPlateSetExec(QotMarket market, PlateSetType plateSetType) { this.market = market; this.plateSetType = plateSetType; }
public QotGetRehabExec(QotMarket market, String[] symbols) { this.market = market; this.symbols = symbols; }
public QotGetReferenceExec(QotMarket market, String symbol, Qot_GetReference.ReferenceType referenceType) { this.market = market; this.symbol = symbol; this.referenceType = referenceType; }
public QotGetPlateSecurityExec(QotMarket market, String symbol) { this.market = market; this.symbol = symbol; }
public QotRegQotPushExec(QotMarket market, String[] symbols, SubType[] subTypes) { this.market = market; this.subTypes = subTypes; this.symbols = symbols; }
public QotGetSecuritySnapshotExec(QotMarket market, String[] symbols) { this.market = market; this.symbols = symbols; }
public QotGetStaticInfoExec(QotMarket market, String[] symbols, SecurityType secType) { this.market = market; this.symbols = symbols; this.secType = secType; }
public QotGetOwnerPlateExec(QotMarket market, String[] symbols) { this.market = market; this.symbols = symbols; }
public QotGetTradeDateExec(QotMarket market, String beginTime, String endTime) { this.market = market; this.beginTime = beginTime; this.endTime = endTime; }
public QotGetBasicQotExec(QotMarket market, String[] symbols, IUpdateCallBack callback) { this.market = market; this.symbols = symbols; this.callback = callback; }
public QotGetRTExec(QotMarket market, String symbol, IUpdateCallBack callback) { this.market = market; this.symbol = symbol; this.callback = callback; }
// public QotGetKL.Response qotGetKL(QotMarket market, String symbol, RehabType rehabType, KLType klType, int reqNum, IUpdateCallBack<List<KLine>> callback) //{ // QotGetKLExec exec = new QotGetKLExec(market, symbol, rehabType, klType, reqNum, callback); //request.execute(exec); // return exec.getValue(); // } // public QotGetRT.Response qotGetRT(QotMarket market, String symbol, IUpdateCallBack<List<TimeShare>> callback) //{ // QotGetRTExec exec = new QotGetRTExec(market, symbol, callback); //request.execute(exec); // return exec.getValue(); // } public Qot_GetTicker.Response qotGetTicker(QotMarket market, String symbol, IUpdateCallBack callback) { return(qotGetTicker(market, symbol, 100, callback)); }