Update MarketData.java

Better to have these attributes private I think