Пример #1
0
 private void FDDLSummary_FormClosing(object sender, FormClosingEventArgs e)
 {
     FDDLUIBinder.getBeforeWrapper().closedSummaryWindow();
     FDDLUIBinder.getRegularWrapper().closedSummaryWindow();
     FDDLUIBinder.getAfterWrapper().closedSummaryWindow();
     FDDLUIBinder.getAAfterWrapper().closedSummaryWindow();
 }
Пример #2
0
 private void FDDLSummary_Load(object sender, EventArgs e)
 {
     FDDLUIBinder.getBeforeWrapper().openedSummaryWindow(m_before, null);
     FDDLUIBinder.getRegularWrapper().openedSummaryWindow(m_regular, m_regularUnitCtr);
     FDDLUIBinder.getAfterWrapper().openedSummaryWindow(m_after, null);
     FDDLUIBinder.getAAfterWrapper().openedSummaryWindow(m_nregular, m_nregularUnitCtr);
 }
Пример #3
0
        private void firstTrial(object sender, ElapsedEventArgs e)
        {
            var exeData = new FDDLExecutionData(m_stockName, OrderType.SELL, getQuantity(), getQuantity());
            FDDLContractionEventCallback evcall = new FDDLContractionEventCallback(null, exeData, FDDLUIBinder.getBeforeWrapper());

            ContractionEventManager.addCallback("FDDL-FirstSell", evcall);
            int res = ProgramControl.getGateway().SendOrder("FDDL-FirstSell", Screens.SCREEN_FDDLORDER, SystemInfo.ACCOUNT, 2, getStockCode(), getQuantity(), 0, "03", "");

            if (res != 0)
            {
                //Debug Log -> 리턴코드 값 / 리턴코드표 참고
            }
        }