a. update market data at first
b. According to the first updated market data timestamp, get earlier window-size records.
c. Calculate huge volume data by the latest market data
d. Only insert new data to huge volume table
2. rename code file to be more proper.