Skip to content

Commit

Permalink
Rename method parameters and schedule columns
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
maread99 committed Jun 22, 2022
1 parent c6f9dea commit 5dfce66
Show file tree
Hide file tree
Showing 57 changed files with 137 additions and 139 deletions.
2 changes: 1 addition & 1 deletion etc/make_exchange_calendar_test_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@

df = pd.DataFrame(
list(zip(cal.opens, cal.closes, cal.break_starts, cal.break_ends)),
columns=["market_open", "market_close", "break_start", "break_end"],
columns=["open", "close", "break_start", "break_end"],
index=cal.closes.index,
)

Expand Down
Loading

0 comments on commit 5dfce66

Please sign in to comment.