Skip to content

Commit ef75e5f

Browse files
authored
Release 1.178.0
See release notes.
2 parents e658ba6 + 682e07f commit ef75e5f

File tree

178 files changed

+8824
-4104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+8824
-4104
lines changed

.docker/nautilus_trader.dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ENV PYTHONUNBUFFERED=1 \
44
PIP_NO_CACHE_DIR=off \
55
PIP_DISABLE_PIP_VERSION_CHECK=on \
66
PIP_DEFAULT_TIMEOUT=100 \
7-
POETRY_VERSION=1.5.1 \
7+
POETRY_VERSION=1.6.1 \
88
POETRY_HOME="/opt/poetry" \
99
POETRY_VIRTUALENVS_CREATE=false \
1010
POETRY_NO_INTERACTION=1 \

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
python-version: ${{ matrix.python-version }}
4949

5050
- name: Install build dependencies
51-
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.5.1 msgspec
51+
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.6.1 msgspec
5252

5353
- name: Setup cached pre-commit
5454
id: cached-pre-commit

.github/workflows/coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
python-version: ${{ matrix.python-version }}
3434

3535
- name: Install build dependencies
36-
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.5.1 msgspec
36+
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.6.1 msgspec
3737

3838
- name: Setup cached pre-commit
3939
id: cached-pre-commit

.github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
python-version: "3.11"
3232

3333
- name: Install build dependencies
34-
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.5.1 msgspec
34+
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.6.1 msgspec
3535

3636
- name: Build project
3737
run: poetry install --with docs --all-extras

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
python-version: ${{ matrix.python-version }}
4848

4949
- name: Install build dependencies
50-
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.5.1 msgspec
50+
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.6.1 msgspec
5151

5252
- name: Test pip installation
5353
run: pip install .
@@ -77,7 +77,7 @@ jobs:
7777
python-version: "3.11"
7878

7979
- name: Install build dependencies
80-
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.5.1 msgspec
80+
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.6.1 msgspec
8181

8282
- name: Set poetry caching
8383
run: echo "dir=$(poetry config cache-dir)" >> $GITHUB_ENV
@@ -141,7 +141,7 @@ jobs:
141141
python-version: "3.11"
142142

143143
- name: Install build dependencies
144-
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.5.1 msgspec
144+
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.6.1 msgspec
145145

146146
- name: Set poety output
147147
run: echo "dir=$(poetry config cache-dir)" >> $GITHUB_ENV
@@ -222,7 +222,7 @@ jobs:
222222
python-version: ${{ matrix.python-version }}
223223

224224
- name: Install build dependencies
225-
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.5.1 msgspec
225+
run: python -m pip install --upgrade pip setuptools wheel pre-commit poetry==1.6.1 msgspec
226226

227227
- name: Set poetry output (Linux, macOS)
228228
if: (runner.os == 'Linux') || (runner.os == 'macOS')

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ repos:
6060
# Python/Cython formatting and linting
6161
##############################################################################
6262
- repo: https://github.com/asottile/add-trailing-comma
63-
rev: v3.0.1
63+
rev: v3.1.0
6464
hooks:
6565
- id: add-trailing-comma
6666
name: add-trailing-comma
@@ -76,7 +76,7 @@ repos:
7676
exclude: "docs/_pygments/monokai.py"
7777

7878
- repo: https://github.com/astral-sh/ruff-pre-commit
79-
rev: v0.0.285
79+
rev: v0.0.287
8080
hooks:
8181
- id: ruff
8282
args: ["--fix"]

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515

1616
| Platform | Rust | Python |
1717
| :----------------- | :------ | :----- |
18-
| `Linux (x86_64)` | 1.71.1+ | 3.9+ |
19-
| `macOS (x86_64)` | 1.71.1+ | 3.9+ |
20-
| `macOS (arm64)` | 1.71.1+ | 3.9+ |
21-
| `Windows (x86_64)` | 1.71.1+ | 3.9+ |
18+
| `Linux (x86_64)` | 1.72.0+ | 3.9+ |
19+
| `macOS (x86_64)` | 1.72.0+ | 3.9+ |
20+
| `macOS (arm64)` | 1.72.0+ | 3.9+ |
21+
| `Windows (x86_64)` | 1.72.0+ | 3.9+ |
2222

2323
- **Website:** https://nautilustrader.io
2424
- **Docs:** https://docs.nautilustrader.io

RELEASES.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
# NautilusTrader 1.178.0 Beta
2+
3+
Released on 2nd September 2023 (UTC).
4+
5+
### Enhancements
6+
None
7+
8+
### Breaking Changes
9+
None
10+
11+
### Fixes
12+
- Fixed `OrderBookDelta.clear` method (where the `sequence` field was swapped with `flags` causing an overflow)
13+
- Fixed `OrderManager` OTO contingency handling on fills
14+
- Fixed `OrderManager` duplicate order canceled events (race condition when processing contingencies)
15+
- Fixed `Cache` loading of initialized emulated orders (were not being correctly indexed as emulated)
16+
- Fixed Binance order book subscriptions for deltas at full depth (was not requesting initial snapshot), thanks for reporting @doublier1
17+
18+
---
19+
120
# NautilusTrader 1.177.0 Beta
221

322
Released on 26th August 2023 (UTC).

docs/developer_guide/environment_setup.md

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ For development we recommend using the PyCharm *Professional* edition IDE, as it
88

99
[pre-commit](https://pre-commit.com/) is used to automatically run various checks, auto-formatters and linting tools at commit.
1010

11+
NautilusTrader uses increasingly more [Rust](https://www.rust-lang.org), so Rust should be installed on your system as well
12+
([installation guide](https://www.rust-lang.org/tools/install)).
13+
1114
## Setup
1215

1316
The following steps are for UNIX-like systems, and only need to be completed once.

examples/live/interactive_brokers_example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"EUR/USD.IDEALPRO",
8181
"BTC/USD.PAXOS",
8282
"SPY.ARCA",
83-
"ABC.NYSE",
83+
"V.NYSE",
8484
"YMH24.CBOT",
8585
"CLZ27.NYMEX",
8686
"ESZ27.CME",

examples/notebooks/quick_start.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"FX data. The Nautilus maintainers have pre-loaded some test data using the standard Nautilus persistence \n",
1212
"format (Parquet) for this guide.\n",
1313
"\n",
14-
"For more details on how to load data into Nautilus, see [Backtest Example](../user_guide/backtest_example.md)."
14+
"For more details on how to load data into Nautilus, see [Backtest Example]((https://docs.nautilustrader.io/guides/backtest_example.html) and [Loading External Data](https://docs.nautilustrader.io/guides/loading_external_data.html).)."
1515
]
1616
},
1717
{

0 commit comments

Comments
 (0)