public ManageableMarketDataSnapshot CreateSnapshot(RemoteViewClient client, IViewCycle cycle) { UniqueId clientId = client.GetUniqueId(); UniqueId cycleId = cycle.UniqueId; var createTarget = _rest.Resolve("create", clientId.ToString(), cycleId.ToString()); return(createTarget.Get <ManageableMarketDataSnapshot>()); }
public Dictionary <YieldCurveKey, Dictionary <string, ValueRequirement> > GetYieldCurveRequirements(RemoteViewClient client, IViewCycle cycle) { UniqueId clientId = client.GetUniqueId(); UniqueId cycleId = cycle.UniqueId; var createTarget = _rest.Resolve("yieldCurveSpecs", clientId.ToString(), cycleId.ToString()); return(createTarget.Get <Dictionary <YieldCurveKey, Dictionary <string, ValueRequirement> > >()); }