public class BTCChinaClient {
public static void main(String args[]) throws ConfigError, DoNotSend, IOException, SessionNotFound, InterruptedException {
BTCChinaApplication app = new BTCChinaApplication() {
@Override
public void onLogon(quickfix.SessionID sessionId) {
super.onLogon(sessionId);
this.requestSnapshot(CurrencyPair.BTC_CNY, sessionId);
this.requestSnapshotAndUpdates(CurrencyPair.BTC_CNY, sessionId);