Exemplo n.º 1
0
 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>>();
 }
Exemplo n.º 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> >());
        }
Exemplo n.º 3
0
        public SecurityMetaDataResult MetaData(SecurityMetaDataRequest request)
        {
            var restTarget = _restTarget.Resolve("metaData");

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