using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Muchinfo.MTPClient.Data;
using Muchinfo.MTPClient.Data.Enums;
using Muchinfo.MTPClient.Data.Model.Account;
using Muchinfo.MTPClient.Data.Model.Report;
using Muchinfo.MTPClient.Data.Model;
namespace Muchinfo.MTPClient.IService
{
public interface ICommonQueryService
{
///
/// 查询市场运行状态
///
/// The market identifier.
/// The success action.
/// The error action.
void QueryMarketRun(int marketId, Action> successAction, Action errorAction);
///
/// 查询结算单-资金账户信息
///
/// Type of the cycle.
/// The cycle time.
/// The success action.
/// The error action.
void QueryTaAccount(ReckonReportQueryType cycleType, string cycleTime, Action> successAction, Action errorAction);
///
/// 查询结算单-资金账户币种信息
///
/// Type of the cycle.
/// The cycle time.
/// The success action.
/// The error action.
void QueryTaAccountCur(ReckonReportQueryType cycleType, string cycleTime, Action> successAction, Action errorAction);
///
/// 查询账户止盈止损单
///
/// The account identifier.
/// The success action.
/// The error action.
void QuerySPSLOrder(ulong accountId, Action> successAction, Action errorAction);
///
/// 查询资管内部委托单
///
/// The query parameters.
/// The success action.
/// The error action.
void QueryInnerHisOrderDetails(List queryParams, Action> successAction, Action errorAction);
///
/// 查询资管内部成交单
///
/// The query parameters.
/// The success action.
/// The error action.
void QueryInnerHisTradeDetails(List queryParams, Action> successAction, Action errorAction);
///
/// 查询资管内部平仓明细
///
/// The query parameters.
/// The success action.
/// The error action.
void QueryInnerHisCloseDetails(List queryParams, Action> successAction, Action errorAction);
///
/// 查询资管内部持仓单
///
/// The query parameters.
/// The success action.
/// The error action.
void QueryInnerHisHoldDetails(List queryParams, Action> successAction, Action errorAction);
///
/// 查询账户持仓汇总
///
/// Type of the cycle.
/// The cycle time.
/// The success action.
/// The error action.
void QueryTradePostion(ReckonReportQueryType cycleType, string cycleTime, Action> successAction, Action errorAction);
///
/// 查询账户汇率模板
///
/// The ta account identifier list.
/// The success action.
/// The error action.
void QueryTradeRateTmpConfig(string taAccountIdList, Action> successAction, Action errorAction);
///
/// 查询外部汇率模版配置表
///
/// The ta account identifier list.
/// 交易日
/// The success action.
/// The error action.
void QueryExtenalTradeRateTmpConfig(string taAccountIdList, string tradeDate, Action> successAction, Action errorAction);
///
/// 查询资金账户汇率
///
/// The ta account identifier list.
/// The success action.
/// The error action.
void QueryTaAccountExchangeRate(string taAccountIdList, Action> successAction, Action errorAction);
///
/// select g.AUTOID QuotesourceGroupId,g.markettradedate MarketTradeDate from quotesourcegroup g
/// 终端启动时通过通用查许从quotesourcegroup表获取行情交易日
///
///
///
void QuoteSourceGroupMarketDate(Action> successAction, Action errorAction);
}
}