437438439440441442443444445446447
@Override public Agent subscribeMarket(final MarketObserver<Market> callback, final String... symbols) { final Agent agent = newAgent(Market.class, callback); agent.include(symbols); return agent; }
448449450451452453454455456457458
@Override public Agent subscribeTrade(final MarketObserver<Trade> lastTrade, final String... symbols) { final Agent agent = newAgent(Trade.class, lastTrade); agent.include(symbols); return agent; }
459460461462463464465466467468469
@Override public Agent subscribeBook(final MarketObserver<Book> book, final String... symbols) { final Agent agent = newAgent(Book.class, book); agent.include(symbols); return agent; }
470471472473474475476477478
@Override public Agent subscribeCuvol(final MarketObserver<Cuvol> cuvol, final String... symbols) { final Agent agent = newAgent(Cuvol.class, cuvol); return agent; }