public void run() {
		System.out.println("marketMgr.donmap.size " + marketMgr.donmap.size());
		try { 
			long startTime = onMessage.startCall();
			while( true ) {
				getOrderBookKeys();
				for( int i = 0; i < orderBookKeys.length; i++ ) {
					System.out.println(marketMgr.marketBook.size());
					StringBuffer symbol = orderBookKeys[i];
					StringBuffer sPrice = marketMgr.marketBook.get(symbol);
					if( sPrice == null || sPrice.length() == 0) 
						continue;
					
					double marketPrice = Double.parseDouble(sPrice.toString());
					
					SubBook sb = orderBook.get(symbol);
					
					for( int x = 0; x < sb.sell.size(); x++) {
						OrderEntry entry = sb.sell.get(x);
						if( checkForTrade( entry, marketPrice) == true )
							break;
					}
					
					for( int x = 0; x < sb.buy.size(); x++) {
						OrderEntry entry = sb.buy.get(x);
						if( checkForTrade( entry, marketPrice) == true )
							break;
					}
				}
				onMessage.endCall( startTime);
				startTime = onMessage.startCall();
				//RealtimeThread.waitForNextPeriod();
				//Thread.sleep(100);
			}
		} catch (Exception e ) {
			
		}
	}