모의 투자가 아닐 경우 IOC 매수

This commit is contained in:
2018-01-01 18:09:09 +09:00
parent eedcebfc3f
commit ae919bdc95
15 changed files with 734 additions and 1634 deletions

View File

@@ -791,6 +791,16 @@ namespace NewsCrawler
}
}
private void btnManualBuy_Click(object sender, EventArgs e)
{
if (lvList.SelectedItems.Count <= 0)
return;
string strCodeName = lvList.SelectedItems[0].SubItems[chCodeName.Index].Text;
CodeList.CODE_VALUE Code = m_CodeList.GetCodeByName(strCodeName);
m_CybosHelper.Buy(Code, Config.GetBuyPrice());
}
public void OnConfigFormClosing()
{
m_ConfigForm = null;