Skip to content

Commit

Permalink
Release 1.158.0
Browse files Browse the repository at this point in the history
See release notes.
  • Loading branch information
cjdsellers authored Nov 3, 2022
2 parents 57f60c1 + 216e6fb commit bfa725c
Show file tree
Hide file tree
Showing 125 changed files with 3,297 additions and 3,391 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ REGISTRY?=ghcr.io/
IMAGE?=${REGISTRY}${PROJECT}
GIT_TAG:=$(shell git rev-parse --abbrev-ref HEAD)
IMAGE_FULL?=${IMAGE}:${GIT_TAG}
EXTRAS?="ib redis"
EXTRAS?="docker ib redis"
.PHONY: install build clean docs format pre-commit
.PHONY: cargo-update cargo-test cargo-test-arm64
.PHONY: update docker-build docker-build-force docker-push
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,6 @@ To install the latest binary wheel from PyPI:

pip install -U nautilus_trader

To install `numpy` and `scipy` on ARM architectures such as MacBook Pro M1 / Apple Silicon, [this stackoverflow thread](https://stackoverflow.com/questions/65745683/how-to-install-scipy-on-apple-silicon-arm-m1)
is useful.

### From Source
Installation from source requires the `Python.h` header file, which is included in development releases such as `python-dev`.
You'll also need the latest stable `rustc` and `cargo` to compile the Rust libraries.
Expand Down Expand Up @@ -190,7 +187,7 @@ as specified in the `pyproject.toml`. However, we highly recommend installing us
git clone https://github.com/nautechsystems/nautilus_trader
cd nautilus_trader
poetry install --no-dev
poetry install --only main --extras "ib redis"
Refer to the [Installation Guide](https://docs.nautilustrader.io/getting_started/installation.html) for other options and further details.
Expand Down
25 changes: 25 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# NautilusTrader 1.158.0 Beta

Released on 3rd November (UTC).

### Breaking Changes
- Added `LiveExecEngineConfig.reconcilation` boolean flag to control if reconciliation is active
- Removed `LiveExecEngineConfig.reconciliation_auto` (unclear naming and concept)
- All Redis keys have changed to a lowercase convention (please either migrate or flush your Redis)
- Removed `BidAskMinMax` indicator (to reduce total package size)
- Removed `HilbertPeriod` indicator (to reduce total package size)
- Removed `HilbertSignalNoiseRatio` indicator (to reduce total package size)
- Removed `HilbertTransform` indicator (to reduce total package size)

### Enhancements
- Improved accuracy of clocks for backtests (all clocks will now match generated `TimeEvent`s)
- Improved risk engine checks for `reduce_only` orders
- Added `Actor.request_instruments(...)` method
- Added `Order.would_reduce_only(...)` method
- Extended instrument(s) Req/Res handling for `DataClient` and `Actor

### Fixes
- Fixed memory management for Rust backing structs (now being properly freed)

---

# NautilusTrader 1.157.0 Beta

Released on 24th October (UTC).
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@
"version_dropdown": True,
"version_json": "_static/version.json",
"version_info": {
"1.157.0 (develop)": "https://docs.nautilustrader.io",
"1.156.0 (latest)": "https://docs.nautilustrader.io/latest",
"1.158.0 (develop)": "https://docs.nautilustrader.io",
"1.157.0 (latest)": "https://docs.nautilustrader.io/latest",
},
"table_classes": ["plain"],
}
Expand Down
6 changes: 0 additions & 6 deletions docs/user_guide/advanced/emulated_orders.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ There is no limitation on the number of emulated orders you can have per running
Currently only individual orders can be emulated, so it is not possible to submit contingency order lists
for emulation (this may be supported in a future version).

```{warning}
Emulated orders which have been persisted and reactivated from a subsequent start will not
remember any custom `position_id` or `client_id` routing instruction from the original `SubmitOrder`
command.
```

## Submitting for emulation
The only requirement to emulate an order is to pass a `TriggerType` to the `emulation_trigger`
parameter of an `Order` constructor, or `OrderFactory` creation method. The following
Expand Down
1 change: 1 addition & 0 deletions examples/live/binance_futures_market_maker.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
trader_id="TESTER-001",
log_level="INFO",
exec_engine={
"reconciliation": True,
"reconciliation_lookback_mins": 1440,
},
cache_database=CacheDatabaseConfig(type="in-memory"),
Expand Down
1 change: 1 addition & 0 deletions examples/live/binance_futures_testnet_ema_cross.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
trader_id="TESTER-001",
log_level="INFO",
exec_engine={
"reconciliation": True,
"reconciliation_lookback_mins": 1440,
},
cache_database=CacheDatabaseConfig(type="in-memory"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
trader_id="TESTER-001",
log_level="INFO",
exec_engine={
"reconciliation": True,
"reconciliation_lookback_mins": 1440,
},
cache_database=CacheDatabaseConfig(type="in-memory"),
Expand Down
1 change: 1 addition & 0 deletions examples/live/binance_futures_testnet_market_maker.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
trader_id="TESTER-001",
log_level="INFO",
exec_engine={
"reconciliation": True,
"reconciliation_lookback_mins": 1440,
},
cache_database=CacheDatabaseConfig(type="in-memory"),
Expand Down
1 change: 1 addition & 0 deletions examples/live/binance_spot_ema_cross.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
trader_id="TESTER-001",
log_level="INFO",
exec_engine={
"reconciliation": True,
"reconciliation_lookback_mins": 1440,
},
cache_database=CacheDatabaseConfig(type="in-memory"),
Expand Down
1 change: 1 addition & 0 deletions examples/live/binance_spot_market_maker.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
trader_id="TESTER-001",
log_level="INFO",
exec_engine={
"reconciliation": True,
"reconciliation_lookback_mins": 1440,
},
cache_database=CacheDatabaseConfig(type="in-memory"),
Expand Down
1 change: 1 addition & 0 deletions examples/live/binance_spot_testnet_ema_cross.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
trader_id="TESTER-001",
log_level="INFO",
exec_engine={
"reconciliation": True,
"reconciliation_lookback_mins": 1440,
},
cache_database=CacheDatabaseConfig(type="in-memory"),
Expand Down
1 change: 1 addition & 0 deletions examples/live/ftx_ema_cross.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
trader_id="TESTER-001",
log_level="INFO",
exec_engine={
"reconciliation": True,
"reconciliation_lookback_mins": 1440,
},
cache_database=CacheDatabaseConfig(type="in-memory"),
Expand Down
1 change: 1 addition & 0 deletions examples/live/ftx_ema_cross_with_trailing_stop.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
trader_id="TESTER-001",
log_level="INFO",
exec_engine={
"reconciliation": True,
"reconciliation_lookback_mins": 1440,
},
cache_database=CacheDatabaseConfig(type="in-memory"),
Expand Down
1 change: 1 addition & 0 deletions examples/live/ftx_market_maker.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
trader_id="TESTER-001",
log_level="INFO",
exec_engine={
"reconciliation": True,
"reconciliation_lookback_mins": 1440,
},
cache_database=CacheDatabaseConfig(type="in-memory"),
Expand Down
1 change: 1 addition & 0 deletions examples/live/ftx_stop_entry_with_trailing_stop.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
trader_id="TESTER-001",
log_level="INFO",
exec_engine={
"reconciliation": True,
"reconciliation_lookback_mins": 1440,
},
cache_database=CacheDatabaseConfig(type="in-memory"),
Expand Down
52 changes: 26 additions & 26 deletions nautilus_core/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions nautilus_core/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ crate-type = ["rlib", "staticlib"]
[dependencies]
nautilus_core = { path = "../core" }
nautilus_model = { path = "../model" }
pyo3 = { version = "0.17.2" }
chrono = "0.4.19"
chrono = "0.4.22"
pyo3 = { version = "0.17.3" }

[features]
extension-module = [
Expand Down
Loading

0 comments on commit bfa725c

Please sign in to comment.