Skip to content

Commit

Permalink
ready for roboquant version 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Dekkers committed Apr 27, 2023
1 parent c4d0335 commit d37d31c
Show file tree
Hide file tree
Showing 19 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
@@ -1,5 +1,5 @@
# we use the smaller base-notebook image as a starting point
FROM jupyter/base-notebook:2023-03-27
FROM jupyter/base-notebook:2023-04-24

# Install OpenJDK as root
USER root
Expand All @@ -15,7 +15,7 @@ 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.358
RUN pip install -i https://test.pypi.org/simple/ kotlin-jupyter-kernel==0.11.0.359

# Make additional Kotlin kernels available with different 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.3.0 -t roboquant/jupyter:latest --push .
docker buildx build --platform linux/amd64,linux/arm64/v8 -t roboquant/jupyter:1.4.0 -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.3.0 -t roboquant/jupyter:latest .
docker build -t roboquant/jupyter:1.4.0 -t roboquant/jupyter:latest .
2 changes: 1 addition & 1 deletion notebooks/alpaca.ipynb
Expand Up @@ -28,7 +28,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant(version=1.4.0-SNAPSHOT, modules=extra)\n",
"%use roboquant(version=1.4.0, 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(1.4.0-SNAPSHOT)\n",
"%use roboquant(1.4.0)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/basic.ipynb
Expand Up @@ -16,7 +16,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant(1.4.0-SNAPSHOT)\n",
"%use roboquant(1.4.0)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/binance.ipynb
Expand Up @@ -28,7 +28,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant(version=1.4.0-SNAPSHOT, modules=crypto)\n",
"%use roboquant(version=1.4.0, 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 @@ -23,7 +23,7 @@
},
"outputs": [],
"source": [
"%use roboquant(1.4.0-SNAPSHOT)\n",
"%use roboquant(1.4.0)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/crypto.ipynb
Expand Up @@ -16,7 +16,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant(version=1.4.0-SNAPSHOT, modules=crypto)\n",
"%use roboquant(version=1.4.0, 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(version=1.4.0-SNAPSHOT, modules=crypto)\n",
"%use roboquant(version=1.4.0, 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(1.4.0-SNAPSHOT)\n",
"%use roboquant(1.4.0)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/forex.ipynb
Expand Up @@ -16,7 +16,7 @@
},
"outputs": [],
"source": [
"%use roboquant(1.4.0-SNAPSHOT)\n",
"%use roboquant(1.4.0)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/ibkr.ipynb
Expand Up @@ -58,7 +58,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant(version=1.4.0-SNAPSHOT, modules=ibkr)\n",
"%use roboquant(version=1.4.0, modules=ibkr)\n",
"import org.roboquant.ibkr.*\n",
"Welcome()"
]
Expand Down
2 changes: 1 addition & 1 deletion notebooks/policies.ipynb
Expand Up @@ -17,7 +17,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant(1.4.0-SNAPSHOT)\n",
"%use roboquant(1.4.0)\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.4.0-SNAPSHOT, modules=extra:crypto:ibkr)"
"%use roboquant(version=1.4.0, 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(1.4.0-SNAPSHOT)\n",
"%use roboquant(1.4.0)\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(1.4.0-SNAPSHOT)\n",
"%use roboquant(1.4.0)\n",
"Welcome()"
]
},
Expand Down
2 changes: 1 addition & 1 deletion notebooks/xgboost.ipynb
Expand Up @@ -19,7 +19,7 @@
"metadata": {},
"outputs": [],
"source": [
"%use roboquant(1.4.0-SNAPSHOT)\n",
"%use roboquant(1.4.0)\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(version=1.4.0-SNAPSHOT, modules=extra)\n",
"%use roboquant(version=1.4.0, modules=extra)\n",
"\n",
"\n",
"// and we import the yahoo package\n",
Expand Down

0 comments on commit d37d31c

Please sign in to comment.