CYA needs to be between 30-50 for outdoor pools.
Here's some resources:
Pool School - ABCs of Pool Water Chemistry
https://www.troublefreepool.com/calc.html (Great resource to keep everything in check).
Pool School - Chlorine / CYA Chart
Pool School - SLAM - Shock Level And Maintain
Hope...