Hello, I'm fairly new to this, and I have yet to get a successful run, but I seem so close it's driving me crazy! When I run the following command python3 japonicus.py -g --strat PPO
it seems to start successfully, my gekko debug runs a mile a minute, but after about 30 seconds I get the following error:
GEKKO
โโโ โโโโโโ โโโโโโโ โโโโโโโ โโโโ โโโโโโ โโโโโโโโโโ โโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโ โโโโโโโโโ โโโ โโโโโโโโโโโ
โโ โโโโโโโโโโโโโโโโโโ โโโ โโโโโโโโโโโโโโโโโโโ โโโ โโโโโโโโโโโ
โโโโโโโโโโโ โโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโ โโโ โโโโโโ โโโโโโโ โโโ โโโโโโโโ โโโโโโโ โโโโโโโ โโโโโโโโ
v0.29
The profits reported here are the profit beyond market price change;
i.e. shown profit = <backtest profit> - <market profit in evaluated candlestick period>;
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)
using candlestick dataset 2017-08-01 00:00:00 to 2017-12-12 11:11:00
====== EPOCH 0/400 ======
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': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 38.480000000000004, 'short': 15.0, 'signal': 12.73, 'thresholds': {'down': -0.010000000000000009, 'persistence': 8.48, 'up': 0.225}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 22.880000000000003, 'short': 9.6, 'signal': 12.73, 'thresholds': {'down': -0.255, 'persistence': 8.08, 'up': 0.0}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 14.82, 'short': 16.68, 'signal': 1.51, 'thresholds': {'down': -0.20500000000000002, 'persistence': 5.359999999999999, 'up': 0.265}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 28.6, 'short': 16.08, 'signal': 8.82, 'thresholds': {'down': -0.25, 'persistence': 5.84, 'up': 0.2}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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}}
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 31.46, 'short': 15.719999999999999, 'signal': 1.85, 'thresholds': {'down': -0.020000000000000018, 'persistence': 4.24, 'up': 0.2}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 26.52, 'short': 13.68, 'signal': 7.630000000000001, 'thresholds': {'down': -0.32999999999999996, 'persistence': 8.0, 'up': 0.035}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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
Error: config failure
Error: config failure
Error: config failure
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 28.6, 'short': 14.879999999999999, 'signal': 8.65, 'thresholds': {'down': -0.22499999999999998, 'persistence': 3.04, 'up': 0.47500000000000003}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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}}
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 31.2, 'short': 17.88, 'signal': 15.790000000000001, 'thresholds': {'down': -0.14999999999999997, 'persistence': 3.6, 'up': 0.15}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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}}
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 33.019999999999996, 'short': 15.719999999999999, 'signal': 11.71, 'thresholds': {'down': -0.07, 'persistence': 7.04, 'up': 0.38}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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}}
http://localhost:3000/api/backtest
{'gekkoConfig': {'debug': True, 'info': True, 'watch': {'exchange': 'gdax', 'currency': 'USD', 'asset': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 18.2, 'short': 10.92, 'signal': 17.150000000000002, 'thresholds': {'down': -0.02999999999999997, 'persistence': 8.32, 'up': 0.275}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 19.5, 'short': 11.04, 'signal': 13.750000000000002, 'thresholds': {'down': -0.31, 'persistence': 5.92, 'up': 0.29}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 17.16, 'short': 16.799999999999997, 'signal': 1.0, 'thresholds': {'down': -0.09499999999999997, 'persistence': 8.56, 'up': 0.41500000000000004}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 15.34, 'short': 9.6, 'signal': 1.17, 'thresholds': {'down': -0.015000000000000013, 'persistence': 9.600000000000001, 'up': 0.015}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 13.78, 'short': 11.28, 'signal': 3.3800000000000003, 'thresholds': {'down': -0.13, 'persistence': 8.64, 'up': 0.45}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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': 'ETH'}, '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': 15, 'historySize': 10}, 'PPO': {'long': 31.46, 'short': 14.4, 'signal': 13.750000000000002, 'thresholds': {'down': -0.46, 'persistence': 2.32, 'up': 0.48}}, 'backtest': {'daterange': {'from': '2017-10-12 04:40:34', 'to': '2017-12-11 04:40:34'}}, '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 600, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 382, 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 438, in send
timeout=timeout
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/util/retry.py", line 357, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/packages/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/usr/local/lib/python3.6/site-packages/requests/packages/urllib3/connectionpool.py", line 382, 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/user/japonicus/evolution_generations.py", line 39, in bEvaluate
DateRange, phenotype, gekkoUrl)
File "/home/user/japonicus/promoterz/evaluation/gekko.py", line 268, in Evaluate
Debug=genconf.gekkoDebug) for DR in DateRange ]
File "/home/user/japonicus/promoterz/evaluation/gekko.py", line 268, in <listcomp>
Debug=genconf.gekkoDebug) for DR in DateRange ]
File "/home/user/japonicus/promoterz/evaluation/gekko.py", line 112, in runBacktest
result = httpPost(url, gekko_config)
File "/home/user/japonicus/promoterz/evaluation/gekko.py", line 41, in httpPost
raise e
File "/home/user/japonicus/promoterz/evaluation/gekko.py", line 31, in httpPost
Request = requests.post(URL, json=data)
File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 112, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 518, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 639, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 488, 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 99, in <module>
gekko_generations(TargetParameters, GenerationMethod, EvaluationMode, web=APP)
File "/home/user/japonicus/evolution_generations.py", line 106, in gekko_generations
World.runEPOCH()
File "/home/user/japonicus/promoterz/sequence/parallel_world.py", line 12, in world_EPOCH
LOCALE.run()
File "/home/user/japonicus/promoterz/locale.py", line 51, in run
self.loop(self.World, self)
File "/home/user/japonicus/promoterz/sequence/standard_loop.py", line 33, in standard_loop
locale.extraStats['nb_evaluated'], locale.extraStats['avgTrades'] = World.parallel.evaluatePopulation(locale)
File "/home/user/japonicus/promoterz/evaluationPool.py", line 60, 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/user/japonicus/promoterz/evaluationPool.py", line 31, 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',))
I can post my config files for review if you'd like, please note I updated your default code in Settings.py from example-config.js to sample-config.js in both spots as that is the default name of the gekko config, no example-config.js exists. But I'm still getting the same error before and after that change.
Any thoughts would be appreciated! Thanks.