Fixed issue with stocks closing on weekends and holidays