IEnumerable <SerializablePrices> GetIndicesSource(DateTime since, DateTime until, Func <Prices, bool> pred) { return(KdbClient.Acquire(KdbData.indices, since, until, a => pred(new Prices(a)))); }
IEnumerable <SerializablePrices> GetStockSource(DateTime since, DateTime until, Func <Prices, bool> select) { return(this.Adjust(KdbClient.Acquire(KdbData.stocks, since, until, a => select(new Prices(a))))); }