예제 #1
0
 public Form1()
 {
     InitializeComponent();
     InitStrategyMenu();
     xiadan = XiaDan.Instance;
     xiadan.Init();
 }
예제 #2
0
        public Form1()
        {
            InitializeComponent();
            InitStrategyMenu();
            InitListView();

            xiadan = Stock.Trader.XiaDan.Instance;
        }
예제 #3
0
        public Form1()
        {
            InitializeComponent();
            InitStrategyMenu();
            InitListView();

            xiadan = Stock.Trader.XiaDan.Instance;
        }
예제 #4
0
        public Form1()
        {
            InitializeComponent();
            InitStrategyMenu();
            InitListView();

            xiadan = Stock.Trader.XiaDan.Instance;
            //          nextClipboardViewer = (IntPtr)Win32API.SetClipboardViewer(this.Handle);
        }
예제 #5
0
 private void button16_Click(object sender, EventArgs e)
 {
     xiadan = Stock.Trader.XiaDan.Instance;
     xiadan.Init();
 }
예제 #6
0
        private void _Start()
        {
            xiadan = Stock.Trader.XiaDan.Instance;

            int span = int.Parse(Configure.GetStockTraderItem(Configure.KEEP_TIME_SPAN));
            this.keepLoginTimer.Interval = span;
            this.keepLoginTimer.Enabled = true;

            StockMarketManager smm = StockMarketManager.Instance;
            IStrategy[] strategies = StrategyManager.Instance.ReadMyStrategies();

            foreach (IStrategy strategy in strategies)
            {
                smm.RegisterStrategy(strategy);
            }

            smm.Start();
        }
예제 #7
0
 private void button16_Click(object sender, EventArgs e)
 {
     xiadan = Stock.Trader.XiaDan.Instance;
     xiadan.Init();
 }