-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4 #201
Commits on Jun 3, 2022
-
Change sessions to tz-naive, times to UTC
Also - Adds typing to, adds doc to and renames parameters of: - some private `ExchangeCalendar` initialization methods. - some private `XKRXExchangeCalendar` initialization methods. - `pandas_utils.days_at_time`.
Configuration menu - View commit details
-
Copy full SHA for c4a04c6 - Browse repository at this point
Copy the full SHA c4a04c6View commit details
Commits on Jun 6, 2022
-
Fixes warnings: - pandas `union_many` deprecated. - `pd.Series.append` deprecated. - writting to a copy of an array (pandas). Also: - adds `indexes_union` function to `pandas_utils`. - adds doctests in `pandas_utils` to test suite.
Configuration menu - View commit details
-
Copy full SHA for ac00772 - Browse repository at this point
Copy the full SHA ac00772View commit details -
Update
ExchangeCalendar.trading_index
Fixes bug that included close (wrongly) when `force` was True, `intervals` was False and closed was `left` or `neither`. Revises test. Revises so that `start` and `end` can be passed as either date or minute. Adds `TestTradingIndex.test_start_end_times`. Updates tutorial `trading_index.ipynb`. Also: - adds following functions to `calendar_helpers` and associated test(s) to `test_calendar_helpers`: - `is_date` - `to_utc` - `parse_date_or_minute`
Configuration menu - View commit details
-
Copy full SHA for 76ea41c - Browse repository at this point
Copy the full SHA 76ea41cView commit details -
Revise
ExchangeCalendar.*_window
methodsRevises following `ExchangeCalendar` methods, and associated tests, so that `count` parameter reflects window length (previously window length was `count` + 1): - `sessions_window`. - `minutes_window`. Also changes methods' parameter names: - `start_dt` renamed `minute`. - `session_label` renamed `session`.
Configuration menu - View commit details
-
Copy full SHA for bfc0955 - Browse repository at this point
Copy the full SHA bfc0955View commit details -
Revise prev next minute session methods
Changes error raised when prev or next minute or session is out-of-bounds. Changed from `ValueError` to `Requested*OutOfBounds`. Simplifies minute_to_*_session methods.
Configuration menu - View commit details
-
Copy full SHA for 68c012b - Browse repository at this point
Copy the full SHA 68c012bView commit details -
Make props
bound*
anddefault*
class methodsChanges `ExchangeCalendar` bound* and default* properties to class methods. To support change also makes `PrecomputedExchangeCalendar.precomputed_holidays` a class method.
Configuration menu - View commit details
-
Copy full SHA for fa7f7f6 - Browse repository at this point
Copy the full SHA fa7f7f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bb512c - Browse repository at this point
Copy the full SHA 2bb512cView commit details
Commits on Jun 7, 2022
-
Rename method parameters and schedule columns
Renames following `ExchangeCalendar.schedule` columns: - 'market_open' renamed 'open' - 'market_close' renamed 'close' Renames parameters of following `ExchangeCalendar` methods (as #61): - `session_open` - `session_close` - `session_break_start` - `session_break_end` - `sessions_in_range` - `is_session` - `is_open_on_minute` - `previous_open` - `pervious_close` - `next_open` - `next_close` - `previous_minute` - `next_minute`
Configuration menu - View commit details
-
Copy full SHA for 33f505e - Browse repository at this point
Copy the full SHA 33f505eView commit details -
Remove deprecated methods and add new deprecations
Deprecates following `ExchangeCalendar` methods: - `sessions_opens` (use .opens[start, end] instead). - `sessions_closes` (use .closes[start, end] instead). Removes following `ExchangeCalendar` methods deprecated in v3.4: - `execution_minutes_for_session` - `execution_minutes_for_sessions_in_range` - `execution_time_from_open` - `execution_time_from_close` - `previous_session_label` - `next_session_label` - `date_to_session_label` - `minute_to_session_label` - `open_and_close_for_session` - `break_start_and_end_for_session` - `minutes_for_session` - `session_opens_in_range` - `session_closes_in_range` - `minutes_for_sessions_in_range` - `minutes_count_for_sessions_in_range` - `session_distance` - `minute_index_to_session_labels` - `all_sessions` - `all_minutes` - `all_minutes_nanos` - `first_trading_minute` - `last_trading_minute` - `first_trading_session` - `last_trading_session` - `has_breaks` - `market_opens_nanos` - `market_closes_nanos` - `market_break_starts_nanos` - `market_break_ends_nanos`
Configuration menu - View commit details
-
Copy full SHA for aa5dca9 - Browse repository at this point
Copy the full SHA aa5dca9View commit details
Commits on Jun 8, 2022
-
Advance min python version to 3.8
- Replaces`@lazyval` with `@functools.cached_property` - Replaces `@functools.lru_cache` with `@functools.cached_property` where lru_cache was decorating a 'would-be' property. - Introduces Literal type annotation. - Removes 3.7 from test and build workflow. - Sets test and build workflow to run on 3.8 and 3.10 (min and max python versions supported). Also: - changes tests with pytest.skip() to pass silently rather than skip loudly if test not relevant to calendar. - Removes following redundant errors: - `ScheduleFunctionWithoutCalendar` - `ScheduleFunctionInvalidCalendar`
Configuration menu - View commit details
-
Copy full SHA for c3f8583 - Browse repository at this point
Copy the full SHA c3f8583View commit details -
Bump actions/cache from 3.0.3 to 3.0.4
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.3 to 3.0.4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v3.0.3...v3.0.4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for f09d0eb - Browse repository at this point
Copy the full SHA f09d0ebView commit details
Commits on Jun 9, 2022
-
Selective linting of exchange_calendar.py (using mypy and pylint). Also, adds a mypy config section to setup.cfg.
Configuration menu - View commit details
-
Copy full SHA for fbb651c - Browse repository at this point
Copy the full SHA fbb651cView commit details -
Changes default calendar side to "left" for all calendars (from "right" for 24h calendars and "both" for all others).
Configuration menu - View commit details
-
Copy full SHA for 19358b2 - Browse repository at this point
Copy the full SHA 19358b2View commit details -
Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v3...v4) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for a937777 - Browse repository at this point
Copy the full SHA a937777View commit details
Commits on Jun 10, 2022
-
Updates README and tutorials for v4.0. Also: - adds `changes_renamed.md`. - renames parameters of `minutes_in_range`.
Configuration menu - View commit details
-
Copy full SHA for 0b39ce3 - Browse repository at this point
Copy the full SHA 0b39ce3View commit details
Commits on Jun 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8a0dc61 - Browse repository at this point
Copy the full SHA 8a0dc61View commit details -
Update requirements and workflows
Updates workflows: - to accommodate changes to requirements files. - on main workflow moves caching of dependencies to setup-python action. Removes from etc: - `requirements.in` - `requirements_dev.in` - `requirements_locked.txt` - `requirements_locked_old.txt` Adds following files generated from pip-compile looking at setup.cfg: - `requirements.txt` - `requirements_dev.txt`
Configuration menu - View commit details
-
Copy full SHA for 6a4ca37 - Browse repository at this point
Copy the full SHA 6a4ca37View commit details
Commits on Jun 22, 2022
-
Add
ExchangeCalendar.is_open_at_time
Adds new `is_open_at_time` calendar method, adds tests and adds example to calendar_methods.ipynb Also - corrects `minutes.ipynb` text that identifies which session break bounds are considered as trading minutes for a given side.
Configuration menu - View commit details
-
Copy full SHA for 27de122 - Browse repository at this point
Copy the full SHA 27de122View commit details -
Remove v4 branch from workflow
Also updates README link to anticipated 4.0 disucssion address.
Configuration menu - View commit details
-
Copy full SHA for d222fb2 - Browse repository at this point
Copy the full SHA d222fb2View commit details