japonicus icon indicating copy to clipboard operation
japonicus copied to clipboard

Error: Config Failure when starting

Open jackngai opened this issue 6 years ago • 4 comments

Hi,

I'm getting this error when I start Japonicus with "python3.6 japonicus.py -gcw --strat PPO". I'm honestly a bit confuse by the config so this is most likely an issue on my end but I have no idea how to get Japonicus to work. Attached is the terminal output. Thanks.

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'

Japonicus Error.txt

jackngai avatar May 08 '18 00:05 jackngai

It is the same for me

nimasTT avatar May 16 '18 20:05 nimasTT

@jackngai Hey, sorry for the delay. Can you (or @nimasTT ) provide your Settings.py? Did you try another strategy, and did you check datasets chosen at Settings? cheers!

Gab0 avatar May 17 '18 02:05 Gab0

Nevermind, I got the same error with PPO strat. The error is on the strategy itself... I'm checking it later.

Gab0 avatar May 17 '18 02:05 Gab0

my only change in the whole setting was, changing the currency.

nimasTT avatar May 17 '18 12:05 nimasTT