public void TestFundInfoAPI() { SinaHttpAPI target = new SinaHttpAPI(); var result = target.GetStockInfo("sz000422"); Assert.NotNull(result); }
public void TestFundListAPI() { SinaHttpAPI target = new SinaHttpAPI(); FundInfoList result = target.GetFundList(1, 40); Assert.NotNull(result); }
public void TestDownloadHistoryData() { SinaHttpAPI target = new SinaHttpAPI(); StockPerf[] data = target.GetStockPerfData("sh600036", PerfScale.Min60, AverageType.MA5, 1023); Assert.IsNotNull(data); Assert.IsTrue(data.Length > 0); }