예제 #1
0
 public frm_Main()
 {
     InitializeComponent();
     GlobalValue.Initialize();
     PolicyProgram.Load();
     CheckDirectory();
     inifile = new IniFile(string.Format("{0}\\{1}", Application.StartupPath, "setting.ini"));
 }
예제 #2
0
 public frm_MainX()
 {
     InitializeComponent();
     SiArray = new List <SecurityInfo>();
     da      = new DataMonitor();
     this.rbt_stop.Enabled = false;
     GlobalValue.Initialize();
     PolicyProgram.Load();
     TradeSDK.Load();
     CheckDirectory();
     _dataQueue = new ConcurrentQueue <TickData>();
     RunningST  = new Dictionary <string, BaseTradeAPI>();
     traders    = new Dictionary <string, Trader>();
 }
예제 #3
0
 private void rbt_refreshmarket_Click(object sender, EventArgs e)
 {
     GlobalValue.Initialize();
 }