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); }