progress
This commit is contained in:
@@ -20,6 +20,13 @@ RUN pip install plotly
|
||||
RUN pip install seaborn
|
||||
RUN pip install statsmodels
|
||||
|
||||
RUN pip install scikit-learn
|
||||
RUN pip install Arch
|
||||
RUN pip install Quantlib
|
||||
RUN pip install Backtrader
|
||||
RUN pip install pyfolio
|
||||
RUN pip install XGBoost
|
||||
|
||||
# Install additional applications
|
||||
RUN apt update
|
||||
RUN apt-get install graphviz -y
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 3,
|
||||
"id": "89251b34-9738-4fa3-b2db-7d6a7dde7d48",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"execution_count": 4,
|
||||
"id": "eb24b805-ee73-4db4-b1de-0c43bea7d86f",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
@@ -42,7 +42,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 14,
|
||||
"execution_count": 5,
|
||||
"id": "8dcb0ec1-4e55-4d13-91fc-57c24fac6460",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
@@ -246,7 +246,7 @@
|
||||
"[5760 rows x 9 columns]"
|
||||
]
|
||||
},
|
||||
"execution_count": 14,
|
||||
"execution_count": 5,
|
||||
"metadata": {},
|
||||
"output_type": "execute_result"
|
||||
}
|
||||
|
||||
@@ -210,25 +210,19 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 179,
|
||||
"execution_count": 2,
|
||||
"id": "316c0cfb-c73d-4dad-9d49-eb80daa229ec",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"name": "stdout",
|
||||
"output_type": "stream",
|
||||
"text": [
|
||||
"========================================\n",
|
||||
" date close_xrp volume_xrp vwap_xrp close_eth volume_eth vwap_eth \\\n",
|
||||
"0 1-0-0 0.5173 28809.165339 0.517217 0.376204 37.497964 0.376108 \n",
|
||||
"1 1-0-1 0.5170 10184.511212 0.517060 0.375942 11.703305 0.376013 \n",
|
||||
"2 1-0-10 0.5176 15515.348778 0.517601 0.375938 11.922897 0.375935 \n",
|
||||
"\n",
|
||||
" close_ltc volume_ltc vwap_ltc close_btc volume_btc vwap_btc \n",
|
||||
"0 0.8317 110.056253 0.831662 0.675060 2.045049 0.674969 \n",
|
||||
"1 0.8312 176.868598 0.831441 0.674947 0.646759 0.675009 \n",
|
||||
"2 0.8311 58.951033 0.831037 0.675507 1.201335 0.675478 \n",
|
||||
"test sample size: 16698\n"
|
||||
"ename": "NameError",
|
||||
"evalue": "name 'df_concat' is not defined",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
||||
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
|
||||
"Cell \u001b[0;32mIn[2], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;66;03m# BTC\u001b[39;00m\n\u001b[0;32m----> 2\u001b[0m df_concat_btc \u001b[38;5;241m=\u001b[39m \u001b[43mdf_concat\u001b[49m[df_concat[\u001b[38;5;124m'\u001b[39m\u001b[38;5;124minstrument_id\u001b[39m\u001b[38;5;124m'\u001b[39m] \u001b[38;5;241m==\u001b[39m \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mPAIR-BTC-USD\u001b[39m\u001b[38;5;124m'\u001b[39m]\n\u001b[1;32m 4\u001b[0m \u001b[38;5;66;03m# Reset Index\u001b[39;00m\n\u001b[1;32m 5\u001b[0m df_concat_btc \u001b[38;5;241m=\u001b[39m df_concat_btc\u001b[38;5;241m.\u001b[39mreset_index(drop \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;01mTrue\u001b[39;00m)\n",
|
||||
"\u001b[0;31mNameError\u001b[0m: name 'df_concat' is not defined"
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -323,6 +317,36 @@
|
||||
"print (\"test sample size: \", sample_size)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"id": "b193e3d7-7907-4137-a63f-4695f76aae21",
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
"ename": "NameError",
|
||||
"evalue": "name 'sample' is not defined",
|
||||
"output_type": "error",
|
||||
"traceback": [
|
||||
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
||||
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
|
||||
"Cell \u001b[0;32mIn[1], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[38;5;28mprint\u001b[39m (\u001b[38;5;124m'\u001b[39m\u001b[38;5;124msample.shape[0] shape: \u001b[39m\u001b[38;5;124m'\u001b[39m, \u001b[43msample\u001b[49m\u001b[38;5;241m.\u001b[39mshape[\u001b[38;5;241m0\u001b[39m])\n",
|
||||
"\u001b[0;31mNameError\u001b[0m: name 'sample' is not defined"
|
||||
]
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"print ('sample.shape[0] shape: ', sample.shape[0])"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "982cc6d4-28f7-4338-b51d-17666c90541c",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 177,
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user