mirror of
https://github.com/aljazceru/hummingbot-dashboard.git
synced 2026-01-30 18:44:19 +01:00
(feat) add path to run with jupyter
This commit is contained in:
@@ -2,12 +2,8 @@
|
||||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"execution_count": 0,
|
||||
"metadata": {
|
||||
"ExecuteTime": {
|
||||
"end_time": "2023-12-08T14:37:55.756030Z",
|
||||
"start_time": "2023-12-08T14:37:55.739563Z"
|
||||
},
|
||||
"collapsed": false,
|
||||
"jupyter": {
|
||||
"outputs_hidden": false
|
||||
@@ -15,7 +11,18 @@
|
||||
},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"import datetime\n",
|
||||
"import os\n",
|
||||
"import sys\n",
|
||||
"\n",
|
||||
"root_path = os.path.abspath(os.path.join(os.getcwd(), '../..'))\n",
|
||||
"sys.path.append(root_path)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 1,
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from decimal import Decimal\n",
|
||||
"\n",
|
||||
"# Market configuration\n",
|
||||
@@ -40,7 +47,14 @@
|
||||
"time_limit = 60 * 60 * 12 # 12 hours\n",
|
||||
"trailing_stop_activation_price_delta = Decimal(\"0.008\")\n",
|
||||
"trailing_stop_trailing_delta = Decimal(\"0.004\")"
|
||||
]
|
||||
],
|
||||
"metadata": {
|
||||
"collapsed": false,
|
||||
"ExecuteTime": {
|
||||
"end_time": "2023-12-08T14:37:55.756030Z",
|
||||
"start_time": "2023-12-08T14:37:55.739563Z"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
|
||||
Reference in New Issue
Block a user