public static void main(String[] args) {
// set up the connection to the server that will run the simulation ------------------------------------------------
try (RemoteServer server = RemoteServer.create("http://localhost:8080")) {
ViewProcessor viewProcessor = server.getViewProcessor();
ConfigSource configSource = server.getConfigSource();
String viewDefinitionName = "AUD Swaps (3m / 6m basis) (1)";
UniqueId viewDefId = SimulationUtils.latestViewDefinitionId(viewDefinitionName, configSource);
List<MarketDataSpecification> marketDataSpecs =
ImmutableList.<MarketDataSpecification>of(new LiveMarketDataSpecification("Simulated live market data"));