simulation.scenario("scenario1").curve().named("foo").apply().parallelShift(0.1);
simulation.scenario("scenario2").curve().named("bar").apply().parallelShift(0.1);
MarketDataSelector selector = CompositeMarketDataSelector.of(simulation.allSelectors());
ViewCycleExecutionOptions options = ViewCycleExecutionOptions.builder().setMarketDataSelector(selector).create();
List<ViewCycleExecutionOptions> optionsList = simulation.cycleExecutionOptions(options, simulation.allSelectors());
ArbitraryViewCycleExecutionSequence sequence = new ArbitraryViewCycleExecutionSequence(optionsList);
FudgeSerializer serializer = new FudgeSerializer(OpenGammaFudgeContext.getInstance());
ArbitraryViewCycleExecutionSequenceFudgeBuilder fudgeBuilder = new ArbitraryViewCycleExecutionSequenceFudgeBuilder();
MutableFudgeMsg msg = fudgeBuilder.buildMessage(serializer, sequence);
FudgeDeserializer deserializer = new FudgeDeserializer(OpenGammaFudgeContext.getInstance());
fudgeBuilder.buildObject(deserializer, msg);