Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 268 online users. » 0 Member(s) | 268 Guest(s)
|
Latest Threads |
Gekko with malware spotte...
Forum: Announcements
Last Post: Isobel
2 hours ago
» Replies: 191
» Views: 170,152
|
Gekko development status ...
Forum: Announcements
Last Post: kontho
2 hours ago
» Replies: 1,008
» Views: 931,310
|
Gekko 0.6 released
Forum: Announcements
Last Post: Pharagon
11-23-2024, 10:13 AM
» Replies: 122
» Views: 269,059
|
An official Gekko service...
Forum: Announcements
Last Post: drivemad2
11-22-2024, 07:24 AM
» Replies: 103
» Views: 189,857
|
New Gekko UI in the works
Forum: Announcements
Last Post: clduplicateremover
11-18-2024, 08:21 PM
» Replies: 174
» Views: 227,745
|
How to Soft Reset or Hard...
Forum: General Discussion
Last Post: lucifar
10-07-2021, 07:18 PM
» Replies: 22
» Views: 53,025
|
How to add Binance Future...
Forum: Technical Support
Last Post: Xavier32
10-07-2021, 02:20 PM
» Replies: 47
» Views: 108,390
|
Bittrex Configuration hel...
Forum: Bittrex
Last Post: yirzolusto
10-07-2021, 07:39 AM
» Replies: 6
» Views: 19,116
|
[Question] Why does gekko...
Forum: General Discussion
Last Post: cryptocurrency0
10-06-2021, 01:16 PM
» Replies: 16
» Views: 45,831
|
a couple of technical Que...
Forum: Technical Support
Last Post: mtom78632
10-06-2021, 11:08 AM
» Replies: 25
» Views: 58,579
|
|
|
ask - last price balance |
Posted by: xFFFFF - 05-09-2018, 02:25 PM - Forum: Feature Requests
- Replies (1)
|
|
Its nice feature from freqtrade:
Quote:Understand ask_last_balance
ask_last_balance sets the bidding price. Value 0.0 will use ask price, 1.0 will use the last price and values between those interpolate between ask and last price. Using ask price will guarantee quick success in bid, but bot will also end up paying more then would probably have been necessary.
I would be using this in gekko.
|
|
|
Download back data when live/paper trading? |
Posted by: Ryancoin - 05-08-2018, 06:30 PM - Forum: Technical Discussion
- Replies (2)
|
|
I wonder if I’m missing something. I have more than enough historical data to cover the history gekko wants when working out what to do. However when I tell it to go live it starts recording from that moment (meaning I’ve got to wait a week for it to figure out where it’s at).
I have the data it needs locally and it’s available on the website it’s connected to. So shouldn’t it grab the history it needs and get going?
|
|
|
Used Alert from Tradingview as Strategy for Gekko |
Posted by: kiendk - 05-08-2018, 01:16 PM - Forum: General Discussion
- No Replies
|
|
Hi
I am looking to hire a DEV to connect alert of tradingview.com with gekko.
- Used alert of tradingview.com as Strategy on Gekko. When tradingview send alert Buy or Sell, gekko will make Buy or Sell Signal to Exchange
Who can do please contact me via telegram @CaKiem (https://t.me/CaKiem) or via SkyPe: kiendk.
Thanks so much
|
|
|
Amazon EC2 Ubuntu installing Talib & Tulind |
Posted by: elogeek - 05-08-2018, 10:22 AM - Forum: Technical Support
- No Replies
|
|
When trying to install Talib indicators on a EC2 instance of Ubuntu i'm getting:
Code: ~/gekko$ npm install talib
> talib@1.0.4 install /home/***/gekko/node_modules/talib
> node ./src/lib/build.js && node-gyp configure && node-gyp build
building talib functions...
$ make <target...> [options]
Options:
--help Show this help output
--version Show package version
--debug Enable extended log output
Targets:
all Run target all
tmake Run target tmake
tmake_all Run target tmake_all
clean release debug Run target clean release debug
FORCE Run target FORCE
Templates:
ava Generate ava setup (ava)
cli Generate cli setup (minimist, tabtab, ge...)
default Generate default setup (babel-cli, babel-plu...)
eslint Generate eslint setup (eslint, eslint-confi...)
livereactload Generate livereactload setup (babel-plugin-react-t...)
mocha Generate mocha setup (mocha)
simple Generate simple setup
make ℹ info Invoking all target
(node:32742) UnhandledPromiseRejectionWarning: undefined
(node:32742) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:32742) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
make ✖ ERR not found: make-$(SUBDIRS)
make ✖ ERR Missing Makefile / Bakefile
make ℹ info Run "make init" to generate a Makefile.
+ talib@1.0.4
updated 1 package in 10.215s
For Tulind indicators i am getting:
Code: ~/gekko$ npm install tulind
> tulind@0.8.10 install /home/*****/gekko/node_modules/tulind
> node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! Tried to download(404): https://tulipnode.s3.amazonaws.com/tulind/v0.8.10/Release/tulind-v0.8.10-node-v57-linux-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for tulind@0.8.10 and node@8.11.1 (node-v57 ABI, glibc) (falling back to source compile with node-gyp)
make ✖ ERR Missing Makefile / Bakefile
make ℹ info Run "make init" to generate a Makefile.
+ tulind@0.8.10
updated 1 package in 10.717s
When running Gekkoga with RSI_BULL_BEAR strategy i get the following warning in gekko:
(WARN): TALIB indicators could not be loaded, they will be unavailable.
(WARN): TULIP indicators could not be loaded, they will be unavailable.
I have tried mostly everything i could find in the forum and elsewhere, but with no success
Can anyone help?
|
|
|
My personal helper-script |
Posted by: Henry151 - 05-08-2018, 04:30 AM - Forum: Third Party Software
- Replies (1)
|
|
Hey all,
I made this for myself, because I found I had done these steps all manually so many times that it just made sense to automate them; I took an old script I had written that just copies in my preferred .vimrc and .bashrc and installs syntax-highlighting stuff for vim, and I added a section that installs node, npm, gekko and gekkoga and all the stuff needed for them and pulls in some strategies and extra indicators and stuff from other people in the commnuity.
If you use debian, it may be helpful for you.
It is, however, I understand, not the right way to set it up, because once it is set up, it is not protected by password. I never could figure out how to set up nginx to make it password-protected. Maybe one of y'all can help with that. I'd love it if this script automated that too. I'd really love just to hear input, or maybe even get my first pull request!
https://github.com/151henry151/workspace-clone-utility
|
|
|
Gab0's Japonicus error |
Posted by: crypto49er - 05-07-2018, 11:29 PM - Forum: Third Party Software
- Replies (4)
|
|
Hi all,
Just wondering if anyone have success with Gab0's Japonicus genetic algorithmic backtest tool. I'm getting this error message:
Code: crypto49er@crypto49er:~/gekko$ cd ..
crypto49er@crypto49er:~$ cd japonicus
crypto49er@crypto49er:~/japonicus$ ls
chart.py japonicus_options.py sqlite_scanner.py
chart_web.py japonicus.py statistics.py
configIndicators.py LICENSE stratego
configStrategies.py logs strategy_parameters
Dockerfile promoterz TOMLutils.py
evaluation __pycache__ utilities
evolution_bayes.py README.md version.py
evolution_generations.py requirements.txt web.py
gekko_evolution.yml resultInterface.py
interface.py Settings.py
crypto49er@crypto49er:~/japonicus$ python3.6 japonicus.py -gcw --strat PPO
WEBSERVER MODE
* Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
GEKKO
██╗ █████╗ ██████╗ ██████╗ ███╗ ██╗██╗ ██████╗██╗ ██╗███████╗
██║██╔══██╗██╔══██╗██╔═══██╗████╗ ██║██║██╔════╝██║ ██║██╔════╝
██║███████║██████╔╝██║ ██║██╔██╗ ██║██║██║ ██║ ██║███████╗
██ ██║██╔══██║██╔═══╝ ██║ ██║██║╚██╗██║██║██║ ██║ ██║╚════██║
╚█████╔╝██║ ██║██║ ╚██████╔╝██║ ╚████║██║╚██████╗╚██████╔╝███████║
╚════╝ ╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
v0.58
The profits reported here depends on backtest interpreter function;
interpreter v3:
if <backtest profit> > 0: <shown profit> = <backtest profit> - <market profit>
else <shown profit> = <backtest profit>
japonicus.py -gcw --strat PPO
Evolving PPO strategy;
evaluated parameters ranges:
short (6, 18)
long (13, 39)
signal (1, 18)
thresholds.down (-0.5, 0.0)
thresholds.up (0.0, 0.5)
thresholds.persistence (2, 10)
evolution candlestick dataset 2014-12-01 05:33:00 to 2018-05-03 07:11:00
BTC/USD @gdax
evaluation candlestick dataset 2016-05-18 00:14:00 to 2018-05-03 07:11:00
ETH/USD @gdax
====== EPOCH 0/800 ======
Locale1
first unevaluated: 30
0 individues removed due to equality
[30]
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'thresholds': {'down': -0.1515151515151515, 'persistence': 5.636363636363637, 'up': 0.36363636363636365}, 'long': 29.939393939393938, 'signal': 5.378787878787879, 'short': 13.818181818181818}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'thresholds': {'up': 0.16666666666666666, 'persistence': 4.181818181818182, 'down': -0.26515151515151514}, 'long': 27.575757575757578, 'signal': 3.3181818181818183, 'short': 15.090909090909092}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'thresholds': {'down': -0.3181818181818182, 'persistence': 8.424242424242424, 'up': 0.4015151515151515}, 'short': 11.454545454545453, 'long': 20.09090909090909, 'signal': 10.015151515151516}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'thresholds': {'down': -0.17424242424242425, 'up': 0.21212121212121213, 'persistence': 6.242424242424242}, 'signal': 17.484848484848484, 'long': 16.939393939393938, 'short': 10.727272727272727}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'thresholds': {'persistence': 7.090909090909091, 'up': 0.2878787878787879, 'down': -0.25}, 'signal': 6.409090909090909, 'long': 25.21212121212121, 'short': 16.363636363636363}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'thresholds': {'persistence': 4.424242424242424, 'down': -0.32575757575757575, 'up': 0.3712121212121212}, 'long': 35.06060606060606, 'short': 15.454545454545455, 'signal': 8.984848484848484}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'signal': 15.424242424242424, 'long': 23.242424242424242, 'short': 13.272727272727273, 'thresholds': {'up': 0.4015151515151515, 'persistence': 7.212121212121212, 'down': -0.38636363636363635}}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'signal': 14.393939393939394, 'long': 27.96969696969697, 'thresholds': {'up': 0.16666666666666666, 'down': -0.3939393939393939, 'persistence': 5.03030303030303}, 'short': 15.818181818181818}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'signal': 4.090909090909091, 'long': 33.09090909090909, 'thresholds': {'persistence': 2.7272727272727275, 'up': 0.45454545454545453, 'down': -0.36363636363636365}, 'short': 8.727272727272727}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'thresholds': {'persistence': 6.0, 'down': -0.26515151515151514, 'up': 0.2878787878787879}, 'short': 8.90909090909091, 'signal': 6.409090909090909, 'long': 28.757575757575758}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'long': 27.575757575757578, 'thresholds': {'up': 0.06060606060606061, 'persistence': 4.424242424242424, 'down': -0.24242424242424243}, 'short': 13.636363636363637, 'signal': 13.878787878787879}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'thresholds': {'up': 0.19696969696969696, 'down': -0.40909090909090906, 'persistence': 8.06060606060606}, 'signal': 8.469696969696969, 'short': 11.636363636363637, 'long': 28.363636363636363}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'thresholds': {'persistence': 2.606060606060606, 'down': -0.25757575757575757, 'up': 0.23484848484848486}, 'long': 19.303030303030305, 'signal': 4.6060606060606055, 'short': 12.545454545454547}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'thresholds': {'down': -0.25757575757575757, 'up': 0.2803030303030303, 'persistence': 6.848484848484849}, 'long': 24.424242424242422, 'short': 14.909090909090908, 'signal': 4.090909090909091}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'BTC'}, 'paperTrader': {'fee': 0.25, 'feeMaker': 0.15, 'feeTaker': 0.25, 'feeUsing': 'maker', 'slippage': 0.05, 'simulationBalance': {'asset': 1, 'currency': 100}, 'reportRoundtrips': True, 'enabled': True}, 'tradingAdvisor': {'enabled': True, 'method': 'PPO', 'candleSize': 10, 'historySize': 10}, 'PPO': {'thresholds': {'persistence': 3.8181818181818183, 'up': 0.3560606060606061, 'down': -0.26515151515151514}, 'long': 23.636363636363637, 'signal': 10.530303030303031, 'short': 9.818181818181818}, 'backtest': {'daterange': {'from': '2016-04-10 12:12:42', 'to': '2016-07-09 12:12:42'}}, 'performanceAnalyzer': {'riskFreeReturn': 2, 'enabled': True}, 'valid': True}, 'data': {'candleProps': ['id', 'start', 'open', 'high', 'low', 'close', 'vwp', 'volume', 'trades'], 'indicatorResults': True, 'report': True, 'roundtrips': False, 'trades': True}}
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request
httplib_response = conn.getresponse(buffering=True)
TypeError: getresponse() got an unexpected keyword argument 'buffering'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen
body=body, headers=headers)
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 355, in _make_request
httplib_response = conn.getresponse()
File "/usr/local/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/usr/local/lib/python3.6/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/local/lib/python3.6/http/client.py", line 266, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 370, in send
timeout=timeout
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 564, in urlopen
_pool=self, _stacktrace=stacktrace)
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 245, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/packages/six.py", line 309, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 518, in urlopen
body=body, headers=headers)
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 355, in _make_request
httplib_response = conn.getresponse()
File "/usr/local/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/usr/local/lib/python3.6/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/local/lib/python3.6/http/client.py", line 266, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
requests.packages.urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 47, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "/home/crypto49er/japonicus/evolution_generations.py", line 53, in bEvaluate
genconf, Datasets, phenotype, gekkoUrl
File "/home/crypto49er/japonicus/evaluation/gekko/backtest.py", line 69, in Evaluate
for Dataset in Datasets
File "/home/crypto49er/japonicus/evaluation/gekko/backtest.py", line 69, in <listcomp>
for Dataset in Datasets
File "/home/crypto49er/japonicus/evaluation/gekko/backtest.py", line 42, in runBacktest
result = httpPost(url, gekko_config)
File "/home/crypto49er/japonicus/evaluation/gekko/API.py", line 24, in httpPost
raise e
File "/home/crypto49er/japonicus/evaluation/gekko/API.py", line 15, in httpPost
Request = requests.post(URL, json=data)
File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 99, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 49, in request
response = session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 461, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 415, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "japonicus.py", line 171, in <module>
launchJaponicus(parser)
File "japonicus.py", line 156, in launchJaponicus
EvaluationMode, settings, options, web=web_server
File "/home/crypto49er/japonicus/evolution_generations.py", line 185, in gekko_generations
World.runEPOCH()
File "/home/crypto49er/japonicus/promoterz/sequence/parallel_world.py", line 13, in world_EPOCH
LOCALE.run()
File "/home/crypto49er/japonicus/promoterz/locale.py", line 39, in run
self.loop(self.World, self)
File "/home/crypto49er/japonicus/promoterz/sequence/standard_loop.py", line 34, in standard_loop
locale
File "/home/crypto49er/japonicus/promoterz/evaluationPool.py", line 77, in evaluatePopulation
results[A] = results[A].get(timeout=timeout)
File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/home/crypto49er/japonicus/promoterz/evaluationPool.py", line 46, in evaluateBackend
fitnesses = P.starmap(self.EvaluationTool, Q)
File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 274, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File "/usr/local/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
|
|
|
|