using System;
using System.IO;
using System.Net;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Diagnostics;
using System.Globalization;

namespace InvExplorer.Web
{
    public interface IAssetIInfoProvider
    {
        // get current price and last change (list with two values)
        List<double> GetCurrentPrice(string symbol);

        // get historical data
        List<AssetPrice> GetAssetPrices(string symbol, DateTime start, DateTime end);

        // get a list with all asset symbols and names
        List<SymbolName> GetAssetSymbolNames();
    }
    public class AssetPrice
    {
        public DateTime Date { get; set; }
        public double Price { get; set; }
    }
}