mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-11 01:54:26 +08:00
4981c67c31
Updated the search for treasury data when there is none for the test end date. It could be that the end date is not a trading day, or we could just be missing treasury data. In either case, we try to recover more gracefully now, by searching as far as possible and maybe logging a warning. Similarly, if there is no benchmark data for the test end date, look for the next trading day. If we really have no data, blow up with our own explicit exception, instead of overflowing in our search for dates in the future.