public void StartHistoricalReaderTest() { HistoricalConnectionTest(); bool expected = true; bool actual = s_utilities.StartHistoricalReader(); Assert.AreEqual(expected, actual, "StartHistoricalReader test failed"); }
private bool Connect() { if (!m_bConnected) { if (m_twsUtilities.Init(TWSUtilities.HISTORICAL_READER, m_ipAddress, m_port)) { m_bConnected = m_twsUtilities.Connect(); } if (m_bConnected) { m_bConnected = m_twsUtilities.StartHistoricalReader(); } } return(m_bConnected); }