	@Test
	public void testFormatQuantity() {

		ExchangeInfo ex = new ExchangeInfo();
		List<SymbolInfo> symbols = new ArrayList<>();
		SymbolInfo si = new SymbolInfo();
		si.setSymbol("NEOETH");
		symbols.add(si);
		ex.setSymbols(symbols);
		
		
		SymbolFilter lotFilter = new SymbolFilter();
		lotFilter.setFilterType(FilterType.LOT_SIZE);
		lotFilter.setStepSize("0.001");
		
		List<SymbolFilter> filters = new ArrayList<>();
		filters.add(lotFilter);
		si.setFilters(filters);
		
				
		assertEquals("Quantity falsch", "1.023", Utils.formatQuantity(BigDecimal.valueOf(1.02345), "NEOETH", ex));
		assertEquals("Quantity scale falsch", 3, Utils.getQuantityScale("NEOETH", ex));
		int quantityScale = 3;
		assertEquals("Quantity step falsch", "0.001", Utils.formatQuantity(BigDecimal.valueOf(Math.pow(10.0, -quantityScale)), "NEOETH", ex));
		
	}