@muzzammil194,
You can start / stop live update of stock chart for a specific time with the help of setInterval and clearTimeout function as shown in this JSFiddle. If this does not fulfill your requirement, kindly brief us more so that we can understand the scenario better and help you out.
__
Sachin Bisht
Team CanvasJS