{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Multi timeframe momentum\n", "Cílen je nalézt kombinaci trendu, kdy je velmi pravdě+podobné, že trend bude o určitou hodnootu ještě pokračovat.\n", "\n", "jsou počítány linregression úhly pro více timeframů a délku oken\n", "\n", "Pro každou kombinaci je daný parametr nad kterým musí být. Pokud je nad všemi pak je entry (short/long).\n", "\n", "Zvážit i nějaký kumulativní počítadlo anglů - něco jako trend kummulátor." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
Activating profile profile1\n",
"\n"
],
"text/plain": [
"Activating profile profile1\n"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"Realtime Websocket connection will use FEED: sip and credential of ACCOUNT1\n"
]
},
{
"data": {
"text/html": [
"\n"
],
"text/plain": [
"init_notebook_mode cell from ITables v2.0.1| \n", " | buyvolume | \n", "
|---|---|
| time | \n", "\n", " |
| \n",
" \n",
"\n",
"\n",
" \n",
"\n",
"Loading ITables v2.0.1 from the init_notebook_mode cell...\n",
"(need help?) | \n",
"\n",
"
| \n", " | sellvolume | \n", "
|---|---|
| time | \n", "\n", " |
| \n",
" \n",
"\n",
"\n",
" \n",
"\n",
"Loading ITables v2.0.1 from the init_notebook_mode cell...\n",
"(need help?) | \n",
"\n",
"
| \n", " | 0 | \n", "
|---|---|
| time | \n", "\n", " |
| \n",
" \n",
"\n",
"\n",
" \n",
"\n",
"Loading ITables v2.0.1 from the init_notebook_mode cell...\n",
"(need help?) | \n",
"\n",
"
| \n", " | close | \n", "
|---|---|
| time | \n", "\n", " |
| \n",
" \n",
"\n",
"\n",
" \n",
"\n",
"Loading ITables v2.0.1 from the init_notebook_mode cell...\n",
"(need help?) | \n",
"\n",
"
| \n", " | vwap | \n", "
|---|---|
| time | \n", "\n", " |
| \n",
" \n",
"\n",
"\n",
" \n",
"\n",
"Loading ITables v2.0.1 from the init_notebook_mode cell...\n",
"(need help?) | \n",
"\n",
"
| \n", " | close | \n", "
|---|---|
| time | \n", "\n", " |
| \n",
" \n",
"\n",
"\n",
" \n",
"\n",
"Loading ITables v2.0.1 from the init_notebook_mode cell...\n",
"(need help?) | \n",
"\n",
"
| \n", " | 0 | \n", "
|---|---|
| time | \n", "\n", " |
| \n",
" \n",
"\n",
"\n",
" \n",
"\n",
"Loading ITables v2.0.1 from the init_notebook_mode cell...\n",
"(need help?) | \n",
"\n",
"
| \n", " | count | \n", "
|---|---|
| \n",
" \n",
"\n",
"\n",
" \n",
"\n",
"Loading ITables v2.0.1 from the init_notebook_mode cell...\n",
"(need help?) | \n",
"\n",
"
| \n", " | 20 | \n", "
|---|---|
| time | \n", "\n", " |
| \n",
" \n",
"\n",
"\n",
" \n",
"\n",
"Loading ITables v2.0.1 from the init_notebook_mode cell...\n",
"(need help?) | \n",
"\n",
"
| Drawdown Id | \n", "Column | \n", "Start Index | \n", "Valley Index | \n", "End Index | \n", "Start Value | \n", "Valley Value | \n", "End Value | \n", "Status | \n", "
|---|---|---|---|---|---|---|---|---|
| \n",
" \n",
"\n",
"\n",
" \n",
"\n",
"Loading ITables v2.0.1 from the init_notebook_mode cell...\n",
"(need help?) | \n",
"\n",
"
| Order Id | \n", "Column | \n", "Signal Index | \n", "Creation Index | \n", "Fill Index | \n", "Size | \n", "Price | \n", "Fees | \n", "Side | \n", "Type | \n", "Stop Type | \n", "
|---|---|---|---|---|---|---|---|---|---|---|
| \n",
" \n",
"\n",
"\n",
" \n",
"\n",
"Loading ITables v2.0.1 from the init_notebook_mode cell...\n",
"(need help?) | \n",
"\n",
"