diff --git a/.github/workflows/dockerx.yml b/.github/workflows/dockerx.yml index 441d282..2fce0fc 100644 --- a/.github/workflows/dockerx.yml +++ b/.github/workflows/dockerx.yml @@ -26,4 +26,4 @@ jobs: context: . platforms: linux/amd64,linux/arm64 push: true - tags: roboquant/jupyter:1.2.0,roboquant/jupyter:latest + tags: roboquant/jupyter:1.2.1,roboquant/jupyter:latest diff --git a/Dockerfile b/Dockerfile index 776bf92..7bd1062 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,12 +7,15 @@ USER root # Install the OpenJDK 17 JRE headless runtime and libgomp RUN apt-get update && apt-get install -y openjdk-17-jre-headless libgomp1 +# Disable announcement pop-ups +RUN jupyter labextension disable "@jupyterlab/apputils-extension:announcements" + # The remaining we run under the standard non-privileged user USER 1000 # Install the Kotlin kernel in the Jupyter environment # RUN pip install kotlin-jupyter-kernel==0.11.0.255 -RUN pip install -i https://test.pypi.org/simple/ kotlin-jupyter-kernel==0.11.0.332 +RUN pip install -i https://test.pypi.org/simple/ kotlin-jupyter-kernel==0.11.0.335 # Make additional Kotlin kernels available with different fixed memory profiles RUN python -m kotlin_kernel add-kernel --name "Small_0.5GB" --jvm-arg=-Xmx512M diff --git a/bin/dockerbuild.sh b/bin/dockerbuild.sh index 7157c2b..ab89755 100755 --- a/bin/dockerbuild.sh +++ b/bin/dockerbuild.sh @@ -11,4 +11,4 @@ rm -f notebooks/*.nbconvert.ipynb jupyter nbconvert --clear-output --inplace notebooks/*.ipynb # Build for AMD64 and ARM64 platforms -docker buildx build --platform linux/amd64,linux/arm64/v8 -t roboquant/jupyter:1.2.0 -t roboquant/jupyter:latest --push . +docker buildx build --platform linux/amd64,linux/arm64/v8 -t roboquant/jupyter:1.2.1 -t roboquant/jupyter:latest --push . diff --git a/bin/dockerbuild_singleplatform.sh b/bin/dockerbuild_singleplatform.sh index a6d2d9f..0e43fb7 100755 --- a/bin/dockerbuild_singleplatform.sh +++ b/bin/dockerbuild_singleplatform.sh @@ -5,4 +5,4 @@ rm -f notebooks/*.nbconvert.ipynb jupyter nbconvert --clear-output --inplace notebooks/*.ipynb # Build for local platform only -docker build -t roboquant/jupyter:1.2.0 -t roboquant/jupyter:latest . +docker build -t roboquant/jupyter:1.2.1 -t roboquant/jupyter:latest . diff --git a/binder/Dockerfile b/binder/Dockerfile index 99e7e1a..2c47883 100644 --- a/binder/Dockerfile +++ b/binder/Dockerfile @@ -1 +1 @@ -FROM roboquant/jupyter:1.2.0 +FROM roboquant/jupyter:1.2.1 diff --git a/notebooks/alpaca.ipynb b/notebooks/alpaca.ipynb index dfbb4f4..d08d271 100644 --- a/notebooks/alpaca.ipynb +++ b/notebooks/alpaca.ipynb @@ -28,7 +28,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(modules=extra)\n", + "%use roboquant(version=1.3.0-SNAPSHOT, modules=extra)\n", "\n", "import org.roboquant.alpaca.*\n", "Welcome()" diff --git a/notebooks/backtest.ipynb b/notebooks/backtest.ipynb index fbc501e..a48d068 100644 --- a/notebooks/backtest.ipynb +++ b/notebooks/backtest.ipynb @@ -19,7 +19,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant\n", + "%use roboquant(1.3.0-SNAPSHOT)\n", "Welcome()" ] }, diff --git a/notebooks/basic.ipynb b/notebooks/basic.ipynb index f715c7e..ad079a7 100644 --- a/notebooks/basic.ipynb +++ b/notebooks/basic.ipynb @@ -16,7 +16,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant\n", + "%use roboquant(1.3.0-SNAPSHOT)\n", "Welcome()" ] }, diff --git a/notebooks/binance.ipynb b/notebooks/binance.ipynb index e603bf6..5c16571 100644 --- a/notebooks/binance.ipynb +++ b/notebooks/binance.ipynb @@ -28,7 +28,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(modules=crypto)\n", + "%use roboquant(version=1.3.0-SNAPSHOT, modules=crypto)\n", "\n", "// import binance package\n", "import org.roboquant.binance.*\n", diff --git a/notebooks/charts.ipynb b/notebooks/charts.ipynb index cc8c3c8..69895c2 100644 --- a/notebooks/charts.ipynb +++ b/notebooks/charts.ipynb @@ -31,7 +31,7 @@ }, "outputs": [], "source": [ - "%use roboquant\n", + "%use roboquant(1.3.0-SNAPSHOT)\n", "Welcome()" ] }, diff --git a/notebooks/crypto.ipynb b/notebooks/crypto.ipynb index 76c4f81..29c8b46 100644 --- a/notebooks/crypto.ipynb +++ b/notebooks/crypto.ipynb @@ -16,7 +16,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(modules=crypto)\n", + "%use roboquant(version=1.3.0-SNAPSHOT, modules=crypto)\n", "\n", "import org.roboquant.xchange.*\n", "Welcome()" diff --git a/notebooks/discord.ipynb b/notebooks/discord.ipynb index 1d3292e..619ca9f 100644 --- a/notebooks/discord.ipynb +++ b/notebooks/discord.ipynb @@ -25,7 +25,7 @@ }, "outputs": [], "source": [ - "%use roboquant(modules=crypto)\n", + "%use roboquant(version=1.3.0-SNAPSHOT, modules=crypto)\n", "\n", "// Load the JDA library and import the required classes\n", "@file:DependsOn(\"net.dv8tion:JDA:5.0.0-beta.4\")\n", diff --git a/notebooks/empty.ipynb b/notebooks/empty.ipynb index 9c31c3a..d3f28f2 100644 --- a/notebooks/empty.ipynb +++ b/notebooks/empty.ipynb @@ -16,7 +16,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant\n", + "%use roboquant(1.3.0-SNAPSHOT)\n", "Welcome()" ] }, diff --git a/notebooks/forex.ipynb b/notebooks/forex.ipynb index b6e9483..e0b606e 100644 --- a/notebooks/forex.ipynb +++ b/notebooks/forex.ipynb @@ -16,7 +16,7 @@ }, "outputs": [], "source": [ - "%use roboquant\n", + "%use roboquant(1.3.0-SNAPSHOT)\n", "Welcome()" ] }, diff --git a/notebooks/ibkr.ipynb b/notebooks/ibkr.ipynb index 81f457c..6609605 100644 --- a/notebooks/ibkr.ipynb +++ b/notebooks/ibkr.ipynb @@ -58,7 +58,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(modules=ibkr)\n", + "%use roboquant(version=1.3.0-SNAPSHOT, modules=ibkr)\n", "import org.roboquant.ibkr.*\n", "Welcome()" ] diff --git a/notebooks/oanda.ipynb b/notebooks/oanda.ipynb index fe03cb1..66781c6 100644 --- a/notebooks/oanda.ipynb +++ b/notebooks/oanda.ipynb @@ -22,7 +22,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(modules=extra)\n", + "%use roboquant(version=1.3.0-SNAPSHOT, modules=extra)\n", "\n", "// By default the required OANDA classes are not imported, so we need to do that first. \n", "// This import will load the various Feed and Broker classes for integrating with OANDA.\n", diff --git a/notebooks/policies.ipynb b/notebooks/policies.ipynb index 7f7e841..e070e38 100644 --- a/notebooks/policies.ipynb +++ b/notebooks/policies.ipynb @@ -17,7 +17,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant\n", + "%use roboquant(1.3.0-SNAPSHOT)\n", "Welcome()" ] }, diff --git a/notebooks/preload.ipynb b/notebooks/preload.ipynb index de716ad..6b872e3 100644 --- a/notebooks/preload.ipynb +++ b/notebooks/preload.ipynb @@ -15,7 +15,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(version=1.2.0, modules=extra:crypto:ibkr)" + "%use roboquant(version=1.3.0-SNAPSHOT, modules=extra:crypto:ibkr)" ] }, { diff --git a/notebooks/strategies.ipynb b/notebooks/strategies.ipynb index 716acc8..713fcdc 100644 --- a/notebooks/strategies.ipynb +++ b/notebooks/strategies.ipynb @@ -25,7 +25,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant\n", + "%use roboquant(1.3.0-SNAPSHOT)\n", "Welcome()" ] }, diff --git a/notebooks/tech-analysis.ipynb b/notebooks/tech-analysis.ipynb index b64ba0f..d74a6d7 100644 --- a/notebooks/tech-analysis.ipynb +++ b/notebooks/tech-analysis.ipynb @@ -18,7 +18,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant\n", + "%use roboquant(1.3.0-SNAPSHOT)\n", "Welcome()" ] }, diff --git a/notebooks/xgboost.ipynb b/notebooks/xgboost.ipynb index 38e0555..223b9b4 100644 --- a/notebooks/xgboost.ipynb +++ b/notebooks/xgboost.ipynb @@ -19,7 +19,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant\n", + "%use roboquant(1.3.0-SNAPSHOT)\n", "Welcome()" ] }, diff --git a/notebooks/yahoo.ipynb b/notebooks/yahoo.ipynb index 5e1e9ab..39eed89 100644 --- a/notebooks/yahoo.ipynb +++ b/notebooks/yahoo.ipynb @@ -15,7 +15,7 @@ "outputs": [], "source": [ "// YahooHistoricFeed is part of the roboquant-extra module, so we include that also\n", - "%use roboquant(modules=extra)\n", + "%use roboquant(version=1.3.0-SNAPSHOT, modules=extra)\n", "\n", "\n", "// and we import the yahoo package\n",