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

v4 dev: fix warnings and update trading index #180

Merged
merged 2 commits into from
Jun 6, 2022
Merged

v4 dev: fix warnings and update trading index #180

merged 2 commits into from
Jun 6, 2022

Commits on Jun 3, 2022

  1. Fix warnings

    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.
    maread99 committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    545624b View commit details
    Browse the repository at this point in the history
  2. 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`
    maread99 committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    ac4ed69 View commit details
    Browse the repository at this point in the history