You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,3 +21,4 @@ applyTo: '/**'
21
21
* The documentation for ccy is available at `https://ccy.quantmid.com`
22
22
* Documentation is built using [mkdocs](https://www.mkdocs.org/) and stored in the `docs/` directory. The documentation source files are written in markdown format.
23
23
* Do not use em dashes (—) in documentation files or docstrings. Use colons, parentheses, or restructure the sentence instead.
24
+
* To link to a class or function in documentation, use the mkdocstrings cross-reference notation: `[ClassName][module.path.ClassName]` (e.g. `[TradingCentre][ccy.tradingcentres.TradingCentre]`)
Passing `nd=0` to `nextbizday` adjusts the date forward to the next business day if it falls on a weekend or holiday, and leaves it unchanged otherwise:
80
+
81
+
```python
82
+
saturday = date(2024, 12, 21)
83
+
nextbizday(saturday, nd=0) # date(2024, 12, 23)
84
+
nextbizday(friday, nd=0) # date(2024, 12, 20) — already a business day
0 commit comments