Skip to content
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

fix mid autumn & national day #413 #289

Closed
wants to merge 394 commits into from

Conversation

ruralscenery
Copy link

Workflow to add a new Exchange Calendar

Workflow to modify an existing Exchange Calendar

[V] Modify calendar class as required.
[V] Modify the test resources file (e.g tests/resources/{Exchange MIC}.csv), either manually or by executing python etc/make_exchange_calendar_test_csv.py {Exchange MIC}.
[V] Check if any of the fixtures in tests/test_{Exchange MIC}calendar.py need updating to reflect your changes.
[V] Add references to any new/modified holidays in exchange_calendars/exchange_calendar
{Exchange MIC}.py.

dependabot bot and others added 30 commits November 18, 2021 06:12
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v2.2.2...v2.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](actions/cache@v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…_actions/actions/cache-2.1.7

Bump actions/cache from 2.1.6 to 2.1.7
…_actions/actions/setup-python-2.3.0

Bump actions/setup-python from 2.2.2 to 2.3.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v2.3.0...v2.3.1)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
* Update XMAD to reflect Christmas Eve being an early close from 2012 to 2020 (inclusive), but a full day from 2021 onwards.

Co-authored-by: Philip Tromans <[email protected]>
…21-10-13

Added XHKG typhoon on 2021-10-13
…ng-holiday-2020-01-31

XSHG: Added extra day of Spring holiday on 2020-01-31
…eve-holiday-2021

Updated XMAD calendar for New Years Eve 2021 holiday
Adds `ExchangeCalendar.minutes_distance` and test.

Also:
  - sorts import of changed files.
  - correction made to
`Answers._get_sessions_with_times_different_to_next_session`.
…y-always-a-holiday

Made Good Friday always a holiday in XCBF
Add `ExchangeCalendar.minutes_distance`
XKRX: add krx holidays in 2022 and 2021 temporary holidays
Added 2022-01-31 as a public holiday in XSHG, and update XBOM
Michail Bugaev and others added 27 commits February 29, 2024 18:08
In order to update XMOS I used the code from XKRX calendar.
Error was raised if I used multiple periods for special
weekmasks.
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v4.0.1...v4.0.2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…orrect time zone identifier from the tz database.
Add exchanges Dusseldorf & Hamburg. Their schedules appear identical,
but I'm basing off tradinghours.com because English resources not as good
as for Frankfurt.

Then I shifted Frankfurt's early close, because CBOE thinks its 2pm.
https://www.cboe.com/about/hours/european-equities
I couldn't find any other confirmation of what early close should be.
Updates exchanges table on README and tidies doc on XFRA
Changes trading index to work exclusively with `int64` dtype.
Includes bumping numpy to 2.0.
Changes provide support for default value of pandas
copy_on_write option changing to True in 3.0. See issue gerrymanoim#379.

Methods that previously overwrote Index objects in place now
return revised copies which are in turn assigned to the
corresponding calendar attribute.

Required specific changes to XKRX and XHKG calendars.
Pins numpy to last release of v1 (pandas versions older than
2.2.2 are not compatible with numpy v2).
This commit replaces legacy time zone names (US/Eastern and US/Central)
with their current identifiers (America/New_York and America/Chicago)
across all tests.

Recent Debian distributions no longer include legacy time zone names in
the default installation, as they are moved to the tzdata-legacy
package. As a result, tests relying on these legacy names fail without
the tzdata-legacy package installed.
@ruralscenery ruralscenery marked this pull request as draft September 18, 2024 12:25
@ruralscenery ruralscenery marked this pull request as draft September 18, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.