public SearchResult<PortfolioDocument> GetHistory(PortfolioHistoryRequest request)
 {
     //request
     var versionsTarget = _restTarget.Resolve("portfolios", request.ObjectId.ToString(), "versions");
     RestTarget target = RestUtils.EncodeQueryParams(versionsTarget, request);
     return target.Get<SearchResult<PortfolioDocument>>();
 }
Beispiel #2
0
        //TODO correct

        public SearchResult <MarketDataSnapshotDocument> History(MarketDataSnapshotHistoryRequest request)
        {
            var versionsTarget = _restTarget.Resolve("snapshots", request.ObjectId.ToString(), "versions");

            return(RestUtils.EncodeQueryParams(versionsTarget, request)
                   .Get <SearchResult <MarketDataSnapshotDocument> >());
        }
        public SecurityMetaDataResult MetaData(SecurityMetaDataRequest request)
        {
            var restTarget = _restTarget.Resolve("metaData");

            return(RestUtils.EncodeQueryParams(restTarget, request).Get <SecurityMetaDataResult>());
        }