Пример #1
0
        static void Main(string[] args)
        {
            HistoricalPriceReader hpr = new HistoricalPriceReader();
            var historicalData        = hpr.GetHistoricalQuotes("MSFT");

            var data = Rsi.CalculateRsi(historicalData, 14, CancellationToken.None);

            Debug.WriteLine($"Number of RSI Values: {data.Count()}");
        }
        static Program()
        {
            HistoricalPriceReader hpr = new HistoricalPriceReader();

            HistoricalData = hpr.GetHistoricalQuotes("MSFT");
        }