read all stock data & output their result

revise the previous misunderstood version