From 30931f60d430a620ea361ebb84fff274c4449c5d Mon Sep 17 00:00:00 2001 From: David Brazda Date: Tue, 8 Oct 2024 13:43:23 +0200 Subject: [PATCH] multiaccount first draft --- research/strat_LINREG_MULTI/v1_SINGLE.ipynb | 4386 +---------------- .../strat_ORDER_IMBALANCE/v2_SINGLE.ipynb | 2 +- .../v2_SINGLE-checkpoint.ipynb | 1118 +++++ .../SUPERTREND_v1_MULTI.ipynb | 932 ++++ .../SUPERTREND_v1_SINGLE.ipynb | 782 +++ testy/testtt.py | 2 + v2realbot/config.py | 23 +- v2realbot/loader/order_updates_streamer.py | 4 +- v2realbot/strategy/base.py | 4 +- v2realbot/strategyblocks/newtrade/signals.py | 9 +- venv1_packages.txt | 255 + 11 files changed, 3220 insertions(+), 4297 deletions(-) create mode 100644 research/strat_SUPERTREND/.ipynb_checkpoints/v2_SINGLE-checkpoint.ipynb create mode 100644 research/strat_SUPERTREND/SUPERTREND_v1_MULTI.ipynb create mode 100644 research/strat_SUPERTREND/SUPERTREND_v1_SINGLE.ipynb create mode 100644 testy/testtt.py create mode 100644 venv1_packages.txt diff --git a/research/strat_LINREG_MULTI/v1_SINGLE.ipynb b/research/strat_LINREG_MULTI/v1_SINGLE.ipynb index 12a2266..2bf9ddc 100644 --- a/research/strat_LINREG_MULTI/v1_SINGLE.ipynb +++ b/research/strat_LINREG_MULTI/v1_SINGLE.ipynb @@ -19,6 +19,13 @@ "execution_count": 1, "metadata": {}, "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Loaded env variables from file /Users/davidbrazda/Documents/Development/python/.env\n" + ] + }, { "data": { "text/html": [ @@ -66,7 +73,7 @@ "text/html": [ "\n", - "
\n", + "
\n", "
\n", "\n", @@ -166,7 +173,7 @@ "
\n", "\n" ], "text/plain": [ @@ -295,20 +302,9 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "frozen_cfg({'silence_warnings': False})" - ] - }, - "execution_count": 26, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [] }, { @@ -334,7 +330,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -343,13 +339,13 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "\n", + "
\n", "\n", " \n", " \n", @@ -463,12 +459,12 @@ "