Stock still not working.Need to find a better way to record the transaction history.
stock not fully fixed.