コード例 #1
0
        public void LoadDepthTest()
        {
            HistoryDataProvider target = new HistoryDataProvider();     // TODO: Initialize to an appropriate value

            target.DataSeries        = new StockDataSeries();
            target.DataSeries.Symbol = "sbrf-3.10";
            DateTime date = new DateTime(2010, 3, 4);   // TODO: Initialize to an appropriate value

            target.LoadDepth(date);
            Assert.IsTrue(target.DataSeries.Depth.Count > 0);
        }
コード例 #2
0
 public void LoadDepthTest()
 {
     HistoryDataProvider target = new HistoryDataProvider(); // TODO: Initialize to an appropriate value
         target.DataSeries = new StockDataSeries();
         target.DataSeries.Symbol = "sbrf-3.10";
         DateTime date = new DateTime(2010,3,4); // TODO: Initialize to an appropriate value
         target.LoadDepth(date);
         Assert.IsTrue(target.DataSeries.Depth.Count > 0);
 }