add mongodb support for hyperopt parallelization
This commit is contained in:
5
scripts/start-hyperopt-worker.sh
Executable file
5
scripts/start-hyperopt-worker.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
DB_NAME=freqtrade_hyperopt
|
||||
|
||||
hyperopt-mongo-worker --mongo=127.0.0.1:1234/${DB_NAME} --poll-interval=0.1
|
12
scripts/start-mongodb.sh
Executable file
12
scripts/start-mongodb.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
DB_PATH="${DIR}/../.mongodb"
|
||||
|
||||
mkdir -p ${DB_PATH}
|
||||
mongod --dbpath ${DB_PATH} \
|
||||
--bind_ip 127.0.0.1 \
|
||||
--port 1234 \
|
||||
--directoryperdb \
|
||||
--journal \
|
||||
--nohttpinterface
|
Reference in New Issue
Block a user