Your questions are answered in the manual at assetHistory even with code examples.