static void Main(string[] args)
        {
            SettingInitializer setting = new SettingInitializer();

            setting.initialze(1);

            //calculation();

            //booking2();

            //mailSendTest();

            //mailReceiveTest();

            //testHifiveCalculation();

            //testStructuredBondCalculation();

            testStructuredSwapCalculation();

            //testStructuredSwap_ServerCalculation();

            //testScheduleInfo(1);

            //testScheduleInfo(1);

            //testUnderlying();
        }
Beispiel #2
0
        public static void AssemblyInitFunction(TestContext context)
        {
            EnvironmentFactoryFactory.Initialize(context.Properties);

            DtoMapper.Setup();

            SettingInitializer.Init();
        }
Beispiel #3
0
        public static void AssemblyInitFunction(TestContext context)
        {
            EnvironmentFactoryFactory.Initialize(context.Properties);

            AssemblyResolver.Initialize();
            DtoMapper.Setup();

            var environmentFactory = EnvironmentFactoryFactory.Create();

            if (environmentFactory.TelemetryEnvironment.DataSinkCurrent != null)
            {
                SettingInitializer.Init();
            }
        }
Beispiel #4
0
        internal Dictionary <Guid, Transaction> Parse(DataSet ds, out Dictionary <Guid, Order> orderDict)
        {
            var trans = new Dictionary <Guid, Transaction>(CAPACITY);

            SettingInitializer.InitializeWithException(ds, "Transaction", dr =>
            {
                Guid accountId  = (Guid)dr["AccountID"];
                Account account = _tradingSetting.GetAccount(accountId);
                if (account == null)
                {
                    Logger.WarnFormat("account = {0} not exist but exist transaction", accountId);
                    return;
                }
                var orderType          = (OrderType)(int)dr["OrderTypeID"];
                var instrumentCategory = (InstrumentCategory)dr["InstrumentCategory"];
                TransactionPhase phase = (TransactionPhase)(byte)dr["Phase"];
                if (phase == TransactionPhase.Canceled)
                {
                    return;
                }
                var factory = TransactionFacade.CreateAddTranCommandFactory(orderType, instrumentCategory);
                var command = factory.Create(account, new DBRow(dr), OperationType.AsNewRecord);
                command.Execute();
                var tran = command.Result;
                trans.Add(tran.Id, tran);
            });

            var orders = this.ParseOrders(ds, trans);

            orderDict = orders;

            SettingInitializer.InitializeWithException(ds, "OrderRelation", dr =>
            {
                var closeOrderId = (Guid)dr["CloseOrderID"];
                if (!orders.ContainsKey(closeOrderId))
                {
                    return;
                }
                Order closeOrder = orders[closeOrderId];
                if (closeOrder != null)
                {
                    var factory = OrderRelationFacade.Default.GetAddOrderRelationFactory(closeOrder);
                    var command = factory.Create(closeOrder, new DBRow(dr));
                    command.Execute();
                }
            });
            return(trans);
        }
Beispiel #5
0
        public authenticateUserResponse1 authenticateUser(authenticateUserRequest request)
        {
            SettingInitializer.Initialize();
            authenticateUserResponse1 oResponse = null;

            //[email protected] = true;
            try
            {
                //var loginResult = Checkuser(request.authenticateUser.arg0, request.authenticateUser.arg1);
                bool isValidUser = this.ValidateUserCage(request.authenticateUser.arg0, request.authenticateUser.arg1);
                if (isValidUser)
                {
                    //SecurityHelper.HasAccess("CashdeskOperator.MainScreen.cs.Tickets");
                    oResponse = new authenticateUserResponse1()
                    {
                        authenticateUserResponse = new authenticateUserResponse()
                        {
                            @return = new userDTO()
                            {
                                actorLoginFails = 0, confirmPassword = request.authenticateUser.arg1, daysSincePwdChange = 10, employeeCard = "0", employeeLockStatus = true, errorPresent = false, firstName = request.authenticateUser.arg0, lastName = request.authenticateUser.arg0, signOnFailureReason = "LoginSuccesful", userId = 1, userName = request.authenticateUser.arg0
                            }
                        }
                    };
                    LogManager.WriteLog("authenticateUser: Login Result--> LoginSuccesful", LogManager.enumLogLevel.Info);
                }
                else
                {
                    oResponse = new authenticateUserResponse1()
                    {
                        authenticateUserResponse = new authenticateUserResponse()
                        {
                            @return = new userDTO()
                            {
                                actorLoginFails = 0, confirmPassword = request.authenticateUser.arg1, daysSincePwdChange = 10, employeeCard = "0", employeeLockStatus = true, errorPresent = true, firstName = request.authenticateUser.arg0, lastName = request.authenticateUser.arg0, userId = 1, signOnFailureReason = "LoginFailed", userName = request.authenticateUser.arg0
                            }
                        }
                    };
                    LogManager.WriteLog("authenticateUser: Login Result--> LoginFailed", LogManager.enumLogLevel.Info);
                }
            }
            catch (Exception Ex)
            {
                ExceptionManager.Publish(Ex);
            }
            return(oResponse);
        }
Beispiel #6
0
        public authenticateUserResponse1 authenticateUser(authenticateUserRequest request)
        {
            SettingInitializer.Initialize();
            authenticateUserResponse1 oResponse = null;

            //[email protected] = true;
            try
            {
                var loginResult = Checkuser(request.authenticateUser.arg0, request.authenticateUser.arg1);
                if (loginResult == SecurityHelper.LoginResults.LoginSuccesful)
                {
                    SecurityHelper.HasAccess("CashdeskOperator.MainScreen.cs.Tickets");
                    oResponse = new authenticateUserResponse1()
                    {
                        authenticateUserResponse = new authenticateUserResponse()
                        {
                            @return = new userDTO()
                            {
                                actorLoginFails = 0, confirmPassword = request.authenticateUser.arg1, daysSincePwdChange = 10, employeeCard = "0", employeeLockStatus = true, errorPresent = false, firstName = request.authenticateUser.arg0, lastName = request.authenticateUser.arg0, signOnFailureReason = loginResult.ToString(), userId = 1, userName = request.authenticateUser.arg0
                            }
                        }
                    };
                }
                else
                {
                    oResponse = new authenticateUserResponse1()
                    {
                        authenticateUserResponse = new authenticateUserResponse()
                        {
                            @return = new userDTO()
                            {
                                actorLoginFails = 0, confirmPassword = request.authenticateUser.arg1, daysSincePwdChange = 10, employeeCard = "0", employeeLockStatus = true, errorPresent = true, firstName = request.authenticateUser.arg0, lastName = request.authenticateUser.arg0, userId = 1, signOnFailureReason = loginResult.ToString(), userName = request.authenticateUser.arg0
                            }
                        }
                    };
                }
            }
            catch (Exception Ex)
            {
                ExceptionManager.Publish(Ex);
            }
            return(oResponse);
        }
Beispiel #7
0
        private void batchPLBtn_Click(object sender, RoutedEventArgs e)
        {
            //PL_Calculator pl_cal = new PL_Calculator();

            //pl_cal.dataLoad();
            //pl_cal.doDBInsertJob();

            SettingInitializer ini = new SettingInitializer();

            ini.initialze(1);

            OutputLogViewModel.OutputList_ = new System.Collections.ObjectModel.ObservableCollection <IOutput>();

            DataInterfaceManager dim = new DataInterfaceManager();

            //DateTime refDate = new DateTime();
            DateTime refDate = DateTime.Now;

            dim.generateParaXml(refDate);
        }
Beispiel #8
0
        private Dictionary <Guid, Order> ParseOrders(DataSet ds, Dictionary <Guid, Transaction> trans)
        {
            var orders = new Dictionary <Guid, Order>(CAPACITY);

            SettingInitializer.InitializeWithException(ds, "Order", dr =>
            {
                Guid transactionID = (Guid)dr["TransactionID"];
                if (!trans.ContainsKey(transactionID))
                {
                    return;
                }
                var tran         = trans[transactionID];
                OrderPhase phase = (OrderPhase)(byte)dr["Phase"];
                if (phase == OrderPhase.Canceled)
                {
                    return;
                }
                this.ParseOrder(new DBRow(dr), tran, orders);
            });
            return(orders);
        }
Beispiel #9
0
        internal void ParseDBRecords(DataSet dataSet)
        {
            SettingInitializer.Initialize(dataSet, "OrderDayHistory", dr =>
            {
                DB.DBMapping.OrderDayHistory model = new DB.DBMapping.OrderDayHistory(new DBRow(dr));
                ResetManager.Default.AddOrderDayHistory(model);
            });

            Dictionary <Guid, Order> orderDict;
            var       trans = _orderAndTransactionParser.Parse(dataSet, out orderDict);
            Stopwatch watch = Stopwatch.StartNew();

            BillParser.Default.Parse(dataSet);
            watch.Stop();
            Logger.InfoFormat("parse bill cost time = {0}ms", watch.ElapsedMilliseconds);

            foreach (var eachTran in trans.Values)
            {
                if (eachTran.OrderCount > 0)
                {
                    Guid instrumentId = eachTran.InstrumentId;
                    eachTran.Owner.GetOrCreateInstrument(instrumentId);
                    if (!_instrumentDict.ContainsKey(instrumentId))
                    {
                        _instrumentDict.Add(instrumentId, new TradingInstrument(Setting.Default.GetInstrument(instrumentId)));
                    }
                }
            }

            if (orderDict != null)
            {
                foreach (var eachOrder in orderDict.Values)
                {
                    eachOrder.CalculateInit();
                }
            }
        }
Beispiel #10
0
 public void TestCleanup()
 {
     SettingInitializer.RemoveExtraEntries();
 }
 public Voucher()
 {
     SettingInitializer.Initialize();
 }
Beispiel #12
0
        private void genTestBtn_Click(object sender, RoutedEventArgs e)
        {
            SettingInitializer ini = new SettingInitializer();

            ini.initialze(1);
            ProgramVariable.initialize_ComboStr();

            AutoBookingManager abm = new AutoBookingManager();

            List <string> productStringList = new List <string>()
            {
                "Type=2 Stock Step Down Double Callable;Underlyings=우리투자증권,하나금융지주;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=11.3;EffectiveDate=2013-07-08;ExportCode=50507A3709S0;Notional=300000000;Name=IBK 제882회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=우리투자증권,한국금융지주;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=12;EffectiveDate=2013-07-12;ExportCode=50507A3726S0;Notional=500000000;Name=IBK 제911회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=우리투자증권,한국전력;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=11.6;EffectiveDate=2013-07-12;ExportCode=50507A3727S0;Notional=400000000;Name=IBK 제912회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전기,LG화학;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=9;EffectiveDate=2014-03-24;ExportCode=50507A4345S0;Notional=38000000;Name=IBK 제1111회 공모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=POSCO,롯데케미칼;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=9.5;EffectiveDate=2014-03-31;ExportCode=50507A4355S0;Notional=10000000;Name=IBK 제1114회 공모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=POSCO,롯데케미칼;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=9.5;EffectiveDate=2014-04-07;ExportCode=50507A4417S0;Notional=30000000;Name=IBK 제1132회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=SK,한라홀딩스;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=12.5;EffectiveDate=2014-05-12;ExportCode=50507A4514S0;Notional=300000000;Name=IBK 제1165회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대차,하나금융지주;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.8;EffectiveDate=2014-05-14;ExportCode=50507A4516S0;Notional=300000000;Name=IBK 제1172회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대차,롯데쇼핑;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.17;EffectiveDate=2014-05-14;ExportCode=50507A4517S0;Notional=300000000;Name=IBK 제1173회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=우리금융,하나금융지주;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.95;EffectiveDate=2014-05-23;ExportCode=50507A4536S0;Notional=300000000;Name=IBK 제1187회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=7.5;EffectiveDate=2014-05-26;ExportCode=50507A4543S0;Notional=830000000;Name=IBK 제1182회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대차,한라홀딩스;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=11.82;EffectiveDate=2014-05-29;ExportCode=50507A4553S0;Notional=600000000;Name=IBK 제1192회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대차,한라홀딩스;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=11.82;EffectiveDate=2014-05-29;ExportCode=50507A4554S0;Notional=300000000;Name=IBK 제1193회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=7.5;EffectiveDate=2014-06-02;ExportCode=50507A4605S0;Notional=1024350000;Name=IBK 제1186회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=7.2;EffectiveDate=2014-06-09;ExportCode=50507A4611S0;Notional=444000000;Name=IBK 제1195회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대차,하나금융지주;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.62;EffectiveDate=2014-06-11;ExportCode=50507A4614S0;Notional=300000000;Name=IBK 제1207회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=7.3;EffectiveDate=2014-06-16;ExportCode=50507A4622S0;Notional=754130000;Name=IBK 제1199회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대차,한라홀딩스;Tenor=3y;Observation period=6m;Trigger level=95/95/90/90/85/85;Knock In barrier=54.999;Coupon(p.a)=10.62;EffectiveDate=2014-06-16;ExportCode=50507A4623S0;Notional=162000000;Name=IBK 제1210회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대차,하나금융지주;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.56;EffectiveDate=2014-06-16;ExportCode=50507A4624S0;Notional=300000000;Name=IBK 제1212회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=7.3;EffectiveDate=2014-06-23;ExportCode=50507A4640S0;Notional=874800000;Name=IBK 제1208회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=7.3;EffectiveDate=2014-06-30;ExportCode=50507A4659S0;Notional=335000000;Name=IBK 제1217회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=7.2;EffectiveDate=2014-07-07;ExportCode=50507A4717S0;Notional=1583370000;Name=IBK 제1221회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=7;EffectiveDate=2014-07-14;ExportCode=50507A4736S0;Notional=926110000;Name=IBK 제1227회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대차,우리금융;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.11;EffectiveDate=2014-07-23;ExportCode=50507A4761S0;Notional=300000000;Name=IBK 제1244회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=6.8;EffectiveDate=2014-07-28;ExportCode=50507A4768S0;Notional=621700000;Name=IBK 제1238회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=6.8;EffectiveDate=2014-08-01;ExportCode=50507A4807S0;Notional=546700000;Name=IBK 제1246회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=6.8;EffectiveDate=2014-08-11;ExportCode=50507A4841S0;Notional=608500000;Name=IBK 제1253회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=LS,우리금융;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=11;EffectiveDate=2014-08-11;ExportCode=50507A4843S0;Notional=400000000;Name=IBK 제1267회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=우리금융,한라홀딩스;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=12;EffectiveDate=2014-08-13;ExportCode=50507A4849S0;Notional=300000000;Name=IBK 제1272회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=우리금융,한라홀딩스;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=12;EffectiveDate=2014-08-13;ExportCode=50507A4850S0;Notional=300000000;Name=IBK 제1273회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=LS,한라홀딩스;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=12;EffectiveDate=2014-08-13;ExportCode=50507A4851S0;Notional=300000000;Name=IBK 제1274회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=LS,한라홀딩스;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=12;EffectiveDate=2014-08-13;ExportCode=50507A4852S0;Notional=300000000;Name=IBK 제1275회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=우리금융,한라홀딩스;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=11.4;EffectiveDate=2014-08-14;ExportCode=50507A4859S0;Notional=300000000;Name=IBK 제1281회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=6.8;EffectiveDate=2014-08-18;ExportCode=50507A4870S0;Notional=427840000;Name=IBK 제1282회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=6.8;EffectiveDate=2014-08-25;ExportCode=50507A48A7S0;Notional=896260000;Name=IBK 제1283회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대차,우리금융;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.11;EffectiveDate=2014-08-20;ExportCode=50507A4875S0;Notional=300000000;Name=IBK 제1284회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대차,LS;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.11;EffectiveDate=2014-08-20;ExportCode=50507A4876S0;Notional=200000000;Name=IBK 제1285회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=우리금융,SK이노베이션;Tenor=3y;Observation period=6m;Trigger level=92.5/92.5/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.11;EffectiveDate=2014-08-22;ExportCode=50507A4885S0;Notional=400000000;Name=IBK 제1290회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=6.8;EffectiveDate=2014-09-01;ExportCode=50507A4918S0;Notional=591700000;Name=IBK 제1287회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대차,우리금융;Tenor=3y;Observation period=6m;Trigger level=90/90/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.8;EffectiveDate=2014-09-24;ExportCode=50507A4970S0;Notional=300000000;Name=IBK 제1334회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=LS,SK이노베이션;Tenor=3y;Observation period=6m;Trigger level=90/90/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.8;EffectiveDate=2014-09-24;ExportCode=50507A4962S0;Notional=300000000;Name=IBK 제1326회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=LS,우리금융;Tenor=3y;Observation period=6m;Trigger level=90/90/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.8;EffectiveDate=2014-09-24;ExportCode=50507A4966S0;Notional=200000000;Name=IBK 제1330회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=삼성전자,LG전자;Tenor=3y;Observation period=6m;Trigger level=90/90/85/85/80/80;Knock In barrier=59.999;Coupon(p.a)=7.2;EffectiveDate=2014-09-24;ExportCode=50507A4964S0;Notional=200000000;Name=IBK 제1328회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=LS,SK이노베이션;Tenor=3y;Observation period=6m;Trigger level=90/90/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.8;EffectiveDate=2014-09-24;ExportCode=50507A4963S0;Notional=100000000;Name=IBK 제1327회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대차,우리금융;Tenor=3y;Observation period=6m;Trigger level=90/90/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.8;EffectiveDate=2014-09-24;ExportCode=50507A4971S0;Notional=200000000;Name=IBK 제1335회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대차,우리금융;Tenor=3y;Observation period=6m;Trigger level=90/90/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.8;EffectiveDate=2014-09-24;ExportCode=50507A4969S0;Notional=200000000;Name=IBK 제1333회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=LS,우리금융;Tenor=3y;Observation period=6m;Trigger level=90/90/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.8;EffectiveDate=2014-09-24;ExportCode=50507A4965S0;Notional=300000000;Name=IBK 제1329회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대모비스,우리금융;Tenor=3y;Observation period=6m;Trigger level=90/90/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.8;EffectiveDate=2014-09-24;ExportCode=50507A4967S0;Notional=200000000;Name=IBK 제1331회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=현대모비스,우리금융;Tenor=3y;Observation period=6m;Trigger level=90/90/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.8;EffectiveDate=2014-09-24;ExportCode=50507A4968S0;Notional=200000000;Name=IBK 제1332회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=LS,SK이노베이션;Tenor=3y;Observation period=6m;Trigger level=90/90/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.8;EffectiveDate=2014-09-24;ExportCode=50507A4961S0;Notional=200000000;Name=IBK 제1325회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=LS,우리금융;Tenor=3y;Observation period=6m;Trigger level=90/90/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=11;EffectiveDate=2014-09-25;ExportCode=50507A4975S0;Notional=300000000;Name=IBK 제1336회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=LS,하나금융지주;Tenor=3y;Observation period=6m;Trigger level=90/90/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.2;EffectiveDate=2014-10-14;ExportCode=50507A4A27S0;Notional=200000000;Name=IBK 제1348회 사모ELS;",
                "Type=2 Stock Step Down Double Callable;Underlyings=LS,하나금융지주;Tenor=3y;Observation period=6m;Trigger level=90/90/87.5/87.5/82.5/82.5;Knock In barrier=57.499;Coupon(p.a)=10.2;EffectiveDate=2014-10-14;ExportCode=50507A4A28S0;Notional=100000000;Name=IBK 제1349회 사모ELS;"
            };

            foreach (var item in productStringList)
            {
                TradeString ts = new StepDownKI_TradeString();
                ts.parsingString(item);
                abm.addInstrument(ts);
            }
        }
 public Jackpot()
 {
     SettingInitializer.Initialize();
 }
Beispiel #14
0
 public static Njit.Common.SystemUtility GetSystemUtility(string serverIpAddressOrName)
 {
     return(GetSystemUtility(serverIpAddressOrName, SettingInitializer.GetProgramSetting().NetworkName, SettingInitializer.GetProgramSetting().NetworkPort));
 }
Beispiel #15
0
 public static Njit.Common.SystemUtility GetSystemUtility(SqlConnection sqlConnection)
 {
     return(GetSystemUtility(sqlConnection, SettingInitializer.GetProgramSetting().NetworkName, SettingInitializer.GetProgramSetting().NetworkPort));
 }
Beispiel #16
0
        public RootBook()
        {
            SettingInitializer setting = new SettingInitializer();

            setting.initialze(1);
        }
Beispiel #17
0
 public void CleanUp()
 {
     SettingInitializer.RemoveExtraEntries();
 }