예제 #1
0
		public ETradeClient()
		{
			Api = new ETradeApi(this);
			Dispatcher = new ETradeDispatcher(DispatcherErrorHandler);
			Connection = new ETradeConnection(this);
			Connection.ConnectionStateChanged += OnConnectionStateChanged;

			_accountsModule = new ETradeAccountsModule(this);
			_marketModule   = new ETradeMarketModule(this);
			_orderModule    = new ETradeOrderModule(this);
		}
예제 #2
0
        public ETradeClient()
        {
            Api        = new ETradeApi(this);
            Dispatcher = new ETradeDispatcher(DispatcherErrorHandler);
            Connection = new ETradeConnection(this);
            Connection.ConnectionStateChanged += OnConnectionStateChanged;

            _accountsModule = new ETradeAccountsModule(this);
            _marketModule   = new ETradeMarketModule(this);
            _orderModule    = new ETradeOrderModule(this);
        }