added period option to read_yahoo