public void setTradePairs() { 
		
		// gets the size of the tradeList for the while loop
		int tradeListSize = tradeList.size();
		// initialize the counter
		int i = 0;
		// while the tradeList is not empty and the counter is less than the size
		while (tradeList != null && i < tradeListSize - 1) { 
			// because in the way we add to the tradeList
			AlgorithmicTrade bidTrade = tradeList.get(i);		// we know that the first one is a bid
			printOrder(bidTrade);
			AlgorithmicTrade askTrade = tradeList.get(i + 1);	// and the next will always be the ask
			printOrder(askTrade);
			tradePair.put(bidTrade, askTrade);					// add the two values to the mapping
			i += 2;			
		}
	}