· 6 years ago · Mar 04, 2020, 06:02 PM
1(base) C:\Users\Peaq>activate sydom
2
3(sydom) C:\Users\Peaq>cd "C:\Users\Peaq\Downloads\SyDOM-master\SyDOM-master"
4
5(sydom) C:\Users\Peaq\Downloads\SyDOM-master\SyDOM-master>python sydom.py
62020-03-04 18:54:57,541 - utils.bitmex_websocket_com - INFO - Connecting to wss://testnet.bitmex.com/realtime?subscribe=execution:ETHUSD,instrument:ETHUSD,order:ETHUSD,orderBookL2_25:ETHUSD,position:ETHUSD,quote:ETHUSD,trade:ETHUSD,margin
72020-03-04 18:54:57,541 - utils.bitmex_websocket_com - INFO - Authenticating with API Key.
82020-03-04 18:54:58,543 - utils.bitmex_websocket_com - INFO - Connected to WS.
92020-03-04 18:55:00,250 - utils.bitmex_websocket_com - INFO - Got all market data. Starting.
102020-03-04 18:55:05,648 - __main__ - INFO - It began in Africa
112020-03-04 18:55:05,649 - utils.bollinger - INFO - Starting BB computation...
122020-03-04 18:55:05,663 - __main__ - INFO - Starting AutoTraining Module... Estimated computing time: 10 minutes
132020-03-04 18:55:05,666 - utils.rsi - INFO - Starting RSI computation...
14Exception in thread Thread-2:
15Traceback (most recent call last):
16 File "C:\Users\Peaq\Anaconda3\envs\sydom\lib\threading.py", line 926, in _bootstrap_inner
17 self.run()
18 File "C:\Users\Peaq\Anaconda3\envs\sydom\lib\threading.py", line 870, in run
19 self._target(*self._args, **self._kwargs)
20 File "C:\Users\Peaq\Downloads\SyDOM-master\SyDOM-master\utils\bollinger.py", line 55, in compute_bb
21 self.retrieve_data(dt2retrieval, self.period)
22 File "C:\Users\Peaq\Downloads\SyDOM-master\SyDOM-master\utils\bollinger.py", line 33, in retrieve_data
23 startTime=time_starter).result()
24 File "C:\Users\Peaq\Anaconda3\envs\sydom\lib\site-packages\bravado\http_future.py", line 271, in result
25 swagger_result = self._get_swagger_result(incoming_response)
26 File "C:\Users\Peaq\Anaconda3\envs\sydom\lib\site-packages\bravado\http_future.py", line 124, in wrapper
27 return func(self, *args, **kwargs)
28 File "C:\Users\Peaq\Anaconda3\envs\sydom\lib\site-packages\bravado\http_future.py", line 303, in _get_swagger_result
29 self.request_config.response_callbacks,
30 File "C:\Users\Peaq\Anaconda3\envs\sydom\lib\site-packages\bravado\http_future.py", line 353, in unmarshal_response
31 raise_on_expected(incoming_response)
32 File "C:\Users\Peaq\Anaconda3\envs\sydom\lib\site-packages\bravado\http_future.py", line 422, in raise_on_expected
33 swagger_result=http_response.swagger_result)
34bravado.exception.HTTPUnauthorized: 401 Unauthorized: {'error': {'message': 'Invalid API Key.', 'name': 'HTTPError'}}