-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add market_schedule module (#112)
* feat: add holiday_hours module * feat: integrate holiday schedule * feat: update gitignore to ignore .DS_Store * refactor: imports * fix: pre-commit * feat: wip market schedule using winnow parser * feat: wip add holiday day schedule parser * fix: format * feat: wip implement market_schedule parser * fix: format * feat: add market schedule can publish at test * feat: use new market hours in pyth agent * fix: format * refactor: rollback module restructure * rename market hours to legacy schedule * chore: add comment * feat: add support for 24:00 * fix: avoid parsing twice for verification * refactor: use match instead of if * refactor: use seq for time range parser * refactor: improve parser * refactor: improve parser * refactor: implement from trait * feat: add proptest * fix: day kind regex and add comments * refactor: improve comment * chore: increase pyth agent minor version
- Loading branch information
1 parent
ce9ab72
commit 920df19
Showing
11 changed files
with
775 additions
and
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ result | |
**/*.rs.bk | ||
__pycache__ | ||
keystore | ||
|
||
# Mac OS | ||
.DS_Store |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Seeds for failure cases proptest has generated in the past. It is | ||
# automatically read and these particular cases re-run before any | ||
# novel cases are generated. | ||
# | ||
# It is recommended to check this file in to source control so that | ||
# everyone who runs the test benefits from these saved cases. | ||
cc 173b9a862e3ad1149b0fdef292a11164ecab5b67b395857178f63294c3c9c0b7 # shrinks to s = "0000-0060" | ||
cc 6cf32e18287cb6de4b40f4326d1e9fd3be409086af3ccf75eac6f980c1f67052 # shrinks to s = TimeRange(00:00:00, 00:00:01) |
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.