|  |  |  | @ -1,11 +1,10 @@ | 
			
		
	
		
			
				
					|  |  |  |  | // Initialize empty stock list
 | 
			
		
	
		
			
				
					|  |  |  |  | let stockList = ['2330.TW']; | 
			
		
	
		
			
				
					|  |  |  |  | let currentList = []; | 
			
		
	
		
			
				
					|  |  |  |  | const layout={'autosize': true, 'legend': {'title': {'text': ''}, | 
			
		
	
		
			
				
					|  |  |  |  |  'tracegroupgap': 0}, 'title': {'text': 'Assets'}, 'xaxis': {'anchor': 'y', 'domain': [0.0, 1.0], | 
			
		
	
		
			
				
					|  |  |  |  |   'title': {'text': 'Date'}, 'rangeslider': {'visible': true}}, 
 | 
			
		
	
		
			
				
					|  |  |  |  |   'yaxis': {'anchor': 'x', 'domain': [0.0, 1.0], 'title': {'text': 'Price'}}, | 
			
		
	
		
			
				
					|  |  |  |  |   'legend': {'yanchor': 'top', 'y': 1.3, 'xanchor': 'left', 'x': 0.01}, 'margin': {'l': 40, 'r': 40, 't': 40, 'b': 40}, | 
			
		
	
		
			
				
					|  |  |  |  | const layout={'autosize': true, 'title': {'text': 'Assets'}, 
 | 
			
		
	
		
			
				
					|  |  |  |  |  'xaxis': {'anchor': 'y', 'domain': [0.0, 1.0], 'rangeslider': {'visible': true}}, 
 | 
			
		
	
		
			
				
					|  |  |  |  |   'yaxis': {'anchor': 'x', 'domain': [0.0, 1.0]}, | 
			
		
	
		
			
				
					|  |  |  |  |   'legend': {'yanchor': 'top', 'y': 1.3, 'xanchor': 'left', 'x': 0.01}, 'margin': {'l': 25, 'r': 5, 't': 10, 'b': 5}, | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | // Cache frequently-used DOM elements
 | 
			
		
	
		
			
				
					|  |  |  |  | const $stockForm = $('#stock-form'); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |