diff --git a/Dockerfile b/Dockerfile index dd77ca5..368b241 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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.12.0.5 +RUN pip install -i https://test.pypi.org/simple/ kotlin-jupyter-kernel==0.12.0.12 # Make additional Kotlin kernels available with different memory profiles RUN python -m kotlin_kernel add-kernel --name "Small_0.5GB" --jvm-arg=-Xmx512M diff --git a/README.adoc b/README.adoc index e4bfab9..e6152cc 100644 --- a/README.adoc +++ b/README.adoc @@ -17,7 +17,7 @@ image:https://img.shields.io/docker/image-size/roboquant/jupyter[Docker Image Si image:https://img.shields.io/docker/v/roboquant/jupyter[Docker Image Version (latest by date)] image:https://img.shields.io/docker/pulls/roboquant/jupyter[Docker Pulls] -This repository contains a number of Jupyter notebooks that demonstrate how to use _roboquant_. The focus of each notebook is on a specific task, like how to visualize results or create technical-analysis based strategies. +This repository contains a number of Jupyter notebooks that demonstrate how to use _roboquant_. The focus of each notebook is on a specific task, like how to visualize results or create strategies based on technical indicators. image:http://roboquant.org/img/jupyter-lab.png[Jupyter Lab] @@ -48,7 +48,7 @@ If you don't want to install anything on your local machine, you can try any of These are the how-to notebooks that are included: -* backtest.ipynb — How to run a different types of back tests. This is also a good starting place if you are new to _roboquant_ +* backtest.ipynb — How to run different types of back tests. This is also a good starting place if you are new to _roboquant_ * charts.ipynb — Shows the charting capabilities of roboquant * alpaca.ipynb — Shows the integration with Alpaca broker * binance.ipynb — Shows the integration with Binance crypto exchange @@ -56,9 +56,9 @@ These are the how-to notebooks that are included: * strategies.ipynb — How to develop your own strategies * policies.ipynb — How to develop a custom policy * discord.ipynb — ow to develop a Discord bot -* talib.ipynb — How to develop technical analysis based strategies using the `TaLib` library -* ta4j.ipynb — How to develop technical analysis based strategies using teh `Ta4j` library -* xgboost.ipynb — How to develop a machine learning based strategy using XGBoost +* talib.ipynb — How to develop technical analysis strategies using the `TaLib` library +* ta4j.ipynb — How to develop technical analysis strategies using teh `Ta4j` library +* xgboost.ipynb — How to develop strategies using XGBoost * forex.ipynb — How to run back-tests for Forex trading * empty.ipynb — Empty notebook that just includes the `%use` statement * basic.ipynb — Notebook with a simple custom strategy that can serve as a starting point for developing your own strategy diff --git a/bin/dockerbuild.sh b/bin/dockerbuild.sh index 0d5f6f9..ad26d12 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.5.0 -t roboquant/jupyter:latest --push . +docker buildx build --platform linux/amd64,linux/arm64/v8 -t roboquant/jupyter:1.6.0 -t roboquant/jupyter:latest --push . diff --git a/bin/dockerbuild_singleplatform.sh b/bin/dockerbuild_singleplatform.sh index 7cf3d70..df36c58 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.5.0 -t roboquant/jupyter:latest . +docker build -t roboquant/jupyter:1.6.0 -t roboquant/jupyter:latest . diff --git a/notebooks/alpaca.ipynb b/notebooks/alpaca.ipynb index 408d4bc..be439c0 100644 --- a/notebooks/alpaca.ipynb +++ b/notebooks/alpaca.ipynb @@ -28,7 +28,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(version=1.6.0-SNAPSHOT, modules=extra)\n", + "%use roboquant(version=1.6.0, modules=extra)\n", "\n", "import org.roboquant.alpaca.*\n", "Welcome()" diff --git a/notebooks/backtest.ipynb b/notebooks/backtest.ipynb index a94a1a7..23296fa 100644 --- a/notebooks/backtest.ipynb +++ b/notebooks/backtest.ipynb @@ -19,7 +19,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(1.6.0-SNAPSHOT)\n", + "%use roboquant(1.6.0)\n", "Welcome()" ] }, diff --git a/notebooks/basic.ipynb b/notebooks/basic.ipynb index 23ca1fc..4a23286 100644 --- a/notebooks/basic.ipynb +++ b/notebooks/basic.ipynb @@ -16,7 +16,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(1.6.0-SNAPSHOT)\n", + "%use roboquant(1.6.0)\n", "Welcome()" ] }, diff --git a/notebooks/binance.ipynb b/notebooks/binance.ipynb index 92801fd..63e1665 100644 --- a/notebooks/binance.ipynb +++ b/notebooks/binance.ipynb @@ -28,7 +28,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(version=1.6.0-SNAPSHOT, modules=crypto)\n", + "%use roboquant(version=1.6.0, modules=crypto)\n", "\n", "// import binance package\n", "import org.roboquant.binance.*\n", diff --git a/notebooks/charts.ipynb b/notebooks/charts.ipynb index 673faa5..36feee8 100644 --- a/notebooks/charts.ipynb +++ b/notebooks/charts.ipynb @@ -23,7 +23,7 @@ }, "outputs": [], "source": [ - "%use roboquant(1.6.0-SNAPSHOT)\n", + "%use roboquant(1.6.0)\n", "Welcome()" ] }, diff --git a/notebooks/crypto.ipynb b/notebooks/crypto.ipynb index de6fbc3..0069fac 100644 --- a/notebooks/crypto.ipynb +++ b/notebooks/crypto.ipynb @@ -16,7 +16,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(version=1.6.0-SNAPSHOT, modules=crypto)\n", + "%use roboquant(version=1.6.0, modules=crypto)\n", "\n", "import org.roboquant.xchange.*\n", "Welcome()" diff --git a/notebooks/dataframes.ipynb b/notebooks/dataframes.ipynb index 62b597a..b482903 100644 --- a/notebooks/dataframes.ipynb +++ b/notebooks/dataframes.ipynb @@ -28,7 +28,7 @@ "dataFrameConfig.display.rowsLimit = 20\n", "dataFrameConfig.display.nestedRowsLimit = 4\n", "\n", - "%use roboquant(1.6.0-SNAPSHOT)" + "%use roboquant(1.6.0)" ] }, { diff --git a/notebooks/discord.ipynb b/notebooks/discord.ipynb index 8dabd5b..814ef55 100644 --- a/notebooks/discord.ipynb +++ b/notebooks/discord.ipynb @@ -25,7 +25,7 @@ }, "outputs": [], "source": [ - "%use roboquant(version=1.6.0-SNAPSHOT, modules=crypto)\n", + "%use roboquant(version=1.6.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", diff --git a/notebooks/empty.ipynb b/notebooks/empty.ipynb index 3edeb42..e9f77a9 100644 --- a/notebooks/empty.ipynb +++ b/notebooks/empty.ipynb @@ -16,7 +16,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(1.6.0-SNAPSHOT)\n", + "%use roboquant(1.6.0)\n", "Welcome()" ] }, diff --git a/notebooks/forex.ipynb b/notebooks/forex.ipynb index 4e280f7..e8f6da3 100644 --- a/notebooks/forex.ipynb +++ b/notebooks/forex.ipynb @@ -16,7 +16,7 @@ }, "outputs": [], "source": [ - "%use roboquant(1.6.0-SNAPSHOT)\n", + "%use roboquant(1.6.0)\n", "Welcome()" ] }, diff --git a/notebooks/ibkr.ipynb b/notebooks/ibkr.ipynb index e71b88a..8820134 100644 --- a/notebooks/ibkr.ipynb +++ b/notebooks/ibkr.ipynb @@ -58,7 +58,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(version=1.6.0-SNAPSHOT, modules=ibkr)\n", + "%use roboquant(version=1.6.0, modules=ibkr)\n", "import org.roboquant.ibkr.*\n", "Welcome()" ] diff --git a/notebooks/policies.ipynb b/notebooks/policies.ipynb index 4ec09ef..e15ccc2 100644 --- a/notebooks/policies.ipynb +++ b/notebooks/policies.ipynb @@ -17,7 +17,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(1.6.0-SNAPSHOT)\n", + "%use roboquant(1.6.0)\n", "Welcome()" ] }, diff --git a/notebooks/preload.ipynb b/notebooks/preload.ipynb index 8e5d497..20c4383 100644 --- a/notebooks/preload.ipynb +++ b/notebooks/preload.ipynb @@ -15,7 +15,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(version=1.6.0-SNAPSHOT, modules=extra:crypto:ibkr)" + "%use roboquant(version=1.6.0, modules=extra:crypto:ibkr)" ] }, { diff --git a/notebooks/strategies.ipynb b/notebooks/strategies.ipynb index 48cedc5..4338995 100644 --- a/notebooks/strategies.ipynb +++ b/notebooks/strategies.ipynb @@ -25,7 +25,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(1.6.0-SNAPSHOT)\n", + "%use roboquant(1.6.0)\n", "Welcome()" ] }, diff --git a/notebooks/ta4j.ipynb b/notebooks/ta4j.ipynb index b995fb4..aa103d3 100644 --- a/notebooks/ta4j.ipynb +++ b/notebooks/ta4j.ipynb @@ -15,7 +15,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(1.6.0-SNAPSHOT)\n", + "%use roboquant(1.6.0)\n", "Welcome()" ] }, diff --git a/notebooks/talib.ipynb b/notebooks/talib.ipynb index fb956b6..bdb6f73 100644 --- a/notebooks/talib.ipynb +++ b/notebooks/talib.ipynb @@ -15,7 +15,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(1.6.0-SNAPSHOT)\n", + "%use roboquant(1.6.0)\n", "Welcome()" ] }, diff --git a/notebooks/xgboost.ipynb b/notebooks/xgboost.ipynb index a1742d0..6f05667 100644 --- a/notebooks/xgboost.ipynb +++ b/notebooks/xgboost.ipynb @@ -19,7 +19,7 @@ "metadata": {}, "outputs": [], "source": [ - "%use roboquant(1.6.0-SNAPSHOT)\n", + "%use roboquant(1.6.0)\n", "Welcome()" ] },