added commenting-- -t flag will throw error if market still open b/c no data exists for the day