forked from quantopian/trading_calendars
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Implements quick session index lookups via session nanos. - Amends quick minute index lookup to a similar common implementation. Adds following properties and methods: - `all_sessions_nanos` - `_get_session_idx` - `_get_date_idx` - `_get_minute_idx` - `_get_sessions_slice` - `_get_minutes_slice` - `_date_oob` - `_minute_oob` Also: - restricts date input to `is_session` and `date_to_session` to dates within calendar range. - changes default `raise_oob` option of parsing methods from False to True.
- Loading branch information
Showing
5 changed files
with
191 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.