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',))