private void button1_Click(object sender, EventArgs e) { this.Text = "선물옵션계좌현황 : " + comboBox1.SelectedItem.ToString() + "(" + label1.Text + ")"; table_미체결현황.Clear(); table_잔고현황.Clear(); table_체결현황.Clear(); FC0.UnadviseRealData(); OC0.UnadviseRealData(); 계좌번호 = comboBox1.SelectedItem.ToString(); t0441.SetFieldData("t0441InBlock", "accno", 0, comboBox1.SelectedItem.ToString()); t0441.SetFieldData("t0441InBlock", "passwd", 0, textBox1.Text); t0441.Request(false); t0434.SetFieldData("t0434InBlock", "accno", 0, comboBox1.SelectedItem.ToString()); t0434.SetFieldData("t0434InBlock", "passwd", 0, textBox1.Text); //t0434.SetFieldData("t0434InBlock", "expcode", 0, "값"); t0434.SetFieldData("t0434InBlock", "chegb", 0, "0"); t0434.SetFieldData("t0434InBlock", "sortgb", 0, "1"); t0434.Request(false); O01.UnadviseRealData(); H01.UnadviseRealData(); C01.UnadviseRealData(); O01.AdviseRealData(); H01.AdviseRealData(); C01.AdviseRealData(); }
private void button1_Click(object sender, EventArgs e) { this.Text = "주식계좌현황 : " + comboBox1.SelectedItem.ToString() + "(" + label2.Text + ")"; table_잔고현황.Clear(); table_미체결현황.Clear(); table_체결현황.Clear(); K3_.UnadviseRealData(); S3_.UnadviseRealData(); 계좌번호 = comboBox1.SelectedItem.ToString(); t0424.SetFieldData("t0424InBlock", "accno", 0, comboBox1.SelectedItem.ToString()); t0424.SetFieldData("t0424InBlock", "passwd", 0, textBox1.Text); t0424.SetFieldData("t0424InBlock", "prcgb", 0, "1"); t0424.SetFieldData("t0424InBlock", "chegb", 0, "2"); t0424.SetFieldData("t0424InBlock", "dangb", 0, "0"); t0424.SetFieldData("t0424InBlock", "charge", 0, "0"); t0424.Request(false); t0425.SetFieldData("t0425InBlock", "accno", 0, comboBox1.SelectedItem.ToString()); t0425.SetFieldData("t0425InBlock", "passwd", 0, textBox1.Text); //t0425.SetFieldData("t0425InBlock", "expcode", 0, "값"); t0425.SetFieldData("t0425InBlock", "chegb", 0, "0");//모의투자시 체결분에 대해서는 응답이 안오는 현상이 있슴. t0425.SetFieldData("t0425InBlock", "medosu", 0, "0"); t0425.SetFieldData("t0425InBlock", "sortgb", 0, "1"); t0425.Request(false); SC0.UnadviseRealData(); SC1.UnadviseRealData(); SC2.UnadviseRealData(); SC3.UnadviseRealData(); SC4.UnadviseRealData(); SC0.AdviseRealData(); SC1.AdviseRealData(); SC2.AdviseRealData(); SC3.AdviseRealData(); SC4.AdviseRealData(); }
public void Unadvise() { _advise = false; _xaReal.UnadviseRealData(); }
public void UnadviseRealData() { myXARealClass.UnadviseRealData(); }