/// <summary> /// 现货最大委托量查询 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnXHMaxAccount_Click(object sender, EventArgs e) { DoAccountAndCapitalManagementService.AccountAndCapitalManagementClient accountAndCapitalManagementClient = new AccountAndCapitalManagementClient(); string a = "1"; long maxAccount = accountAndCapitalManagementClient.GetSpotMaxOrderAmount(out a, "249", 100, "019711", DoAccountAndCapitalManagementService.TypesOrderPriceType.OPTMarketPrice); // accountAndCapitalManagementClient.GetSpotMaxOrderAmount() maxAccount.ToString(); MessageBox.Show("maxAccount", "现货最大委托量"); }
public long GetXHMaxCount(string traderId, string code, decimal price, TypesOrderPriceType orderPriceType, out string errMsg) { return(accountClient.GetSpotMaxOrderAmount(out errMsg, traderId, (float)price, code, orderPriceType)); }