Skip to content

Commit

Permalink
updated version with bug fix for classic notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Dekkers committed Mar 22, 2023
1 parent 98f7e75 commit 6d19609
Show file tree
Hide file tree
Showing 22 changed files with 25 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dockerx.yml
Expand Up @@ -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
5 changes: 4 additions & 1 deletion Dockerfile
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bin/dockerbuild.sh
Expand Up @@ -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 .
2 changes: 1 addition & 1 deletion bin/dockerbuild_singleplatform.sh
Expand Up @@ -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 .
2 changes: 1 addition & 1 deletion binder/Dockerfile
@@ -1 +1 @@
FROM roboquant/jupyter:1.2.0
FROM roboquant/jupyter:1.2.1
2 changes: 1 addition & 1 deletion notebooks/alpaca.ipynb
Expand Up @@ -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()"
Expand Down
2 changes: 1 addition & 1 deletion notebooks/backtest.ipynb
Expand Up @@ -19,7 +19,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant\n",
"%use roboquant(1.3.0-SNAPSHOT)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/basic.ipynb
Expand Up @@ -16,7 +16,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant\n",
"%use roboquant(1.3.0-SNAPSHOT)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/binance.ipynb
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/charts.ipynb
Expand Up @@ -31,7 +31,7 @@
},
"outputs": [],
"source": [
"%use roboquant\n",
"%use roboquant(1.3.0-SNAPSHOT)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/crypto.ipynb
Expand Up @@ -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()"
Expand Down
2 changes: 1 addition & 1 deletion notebooks/discord.ipynb
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/empty.ipynb
Expand Up @@ -16,7 +16,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant\n",
"%use roboquant(1.3.0-SNAPSHOT)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/forex.ipynb
Expand Up @@ -16,7 +16,7 @@
},
"outputs": [],
"source": [
"%use roboquant\n",
"%use roboquant(1.3.0-SNAPSHOT)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/ibkr.ipynb
Expand Up @@ -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()"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/oanda.ipynb
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/policies.ipynb
Expand Up @@ -17,7 +17,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant\n",
"%use roboquant(1.3.0-SNAPSHOT)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/preload.ipynb
Expand Up @@ -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)"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/strategies.ipynb
Expand Up @@ -25,7 +25,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant\n",
"%use roboquant(1.3.0-SNAPSHOT)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/tech-analysis.ipynb
Expand Up @@ -18,7 +18,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant\n",
"%use roboquant(1.3.0-SNAPSHOT)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/xgboost.ipynb
Expand Up @@ -19,7 +19,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant\n",
"%use roboquant(1.3.0-SNAPSHOT)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/yahoo.ipynb
Expand Up @@ -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",
Expand Down

0 comments on commit 6d19609

Please sign in to comment.