Package com.opengamma.bbg.livedata.faketicks

Examples of com.opengamma.bbg.livedata.faketicks.FakeSubscriptionSelector


    repo.registerLifecycle(fakeServer);
    repo.registerMBean(new LiveDataServerMBean(fakeServer));

    // combined
    // TODO: stop using this selector, everything should switch to explicit weak, but we have to wait for that change to propagate
    FakeSubscriptionSelector selectorVolatility = new ByTypeFakeSubscriptionSelector(
        ImmutableSet.of("SWAPTION VOLATILITY", "OPTION VOLATILITY"));
    FakeSubscriptionSelector selectorWeak = new BySchemeFakeSubscriptionSelector(
        ImmutableSet.of(ExternalSchemes.BLOOMBERG_BUID_WEAK, ExternalSchemes.BLOOMBERG_TICKER_WEAK));
    FakeSubscriptionSelector selector = new UnionFakeSubscriptionSelector(selectorVolatility, selectorWeak);

    CombiningBloombergLiveDataServer combinedServer = new CombiningBloombergLiveDataServer(fakeServer,
                                                                                           realServer,
                                                                                           selector,
                                                                                           getCacheManager());
View Full Code Here

TOP

Related Classes of com.opengamma.bbg.livedata.faketicks.FakeSubscriptionSelector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.