Skip to content

Commit

Permalink
Update ExchangeCalendar.trading_index
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
maread99 committed Jun 6, 2022
1 parent ac00772 commit 76ea41c
Show file tree
Hide file tree
Showing 6 changed files with 1,278 additions and 268 deletions.
Loading

0 comments on commit 76ea41c

Please sign in to comment.