Ejemplo n.º 1
0
        public ModApiModel(string symbol = "AAPL")
        {
            Symbol = symbol;
            IsAllProjects = false;

            Quote = new QuoteRequest(Symbol);
            Timeseries = new TimeseriesRequest(Symbol);
        }
Ejemplo n.º 2
0
        public string QuoteUpdate(string symbol)
        {
            QuoteRequest model = new QuoteRequest(symbol);
            model.Init();
            model.Load();

            return RenderPartialViewToString("~/Views/Projects/Modules/Quote.cshtml", model.Result);
        }