code: def get_current_trading_info(fsym, tsym, markets='all', try_conversion=True, 
                         		 format='raw'):
  	
  	
  	# load data 
  	url = build_url('generateAvg', fsym=fsym, tsym=tsym, markets=markets,
  	                try_conversion=try_conversion)
  	data = load_data(url)
  
  	# select format to return
  	if format == 'raw':
  		data = data['RAW']
  	elif format == 'display':
  		data = data['DISPLAY']
  
  	return {fsym: {tsym: data}}
docs: Get the latest trading info of the requested pair as a volume weighted 
  	average based on the markets requested.
  	
  	Args:
  		fsym: FROM symbol.
  		tsym: TO symbol.
  		markets: List containing the market names.
  		try_conversion: If the crypto does not trade directly into the toSymbol 
  			requested, BTC will be used for conversion. If set to false, it will 
  			try to get values without using any conversion at all.
  		format: Default returns the 'RAW' format. Can be set to 'DISPLAY' 
  			format.
  
  	Returns:
  		The returned latest average trading information dictionary contains
  		the following key value pairs:
  		
  		{'PRICE': ...,
  		 'LASTVOLUMETO': ...,
  		 'TOSYMBOL': ...,
  		 'LOW24HOUR': ...,
  		 'CHANGE24HOUR': ...,
  		 'FROMSYMBOL': ...,
  		 'FLAGS': ...,
  		 'VOLUME24HOUR': ...,
  		 'HIGH24HOUR': ...,
  		 'LASTUPDATE': ...,
  		 'VOLUME24HOURT': ...,
  		 'LASTMARKET': ...,
  		 'CHANGEPCT24HOUR': ...,
  		 'OPEN24HOUR': ...,
  		 'MARKET': ...,
  		 'LASTTRADEID': ...,
  		 'LASTVOLUME': ...}