Hi, and welcome!
Did you add any stabilizer when you refilled the pool? If not, then the sun is consuming your chlorine very quickly and would explain why it turns green so quickly.
Post your water test results, along with the ingredients of anything you've added to the pool, and we'll be glad to get you going in the right direction!
Bookmarks