Traceback (most recent call last):
File "main.py", line 21, in
main(options)
File "main.py", line 11, in main
task.run()
File "/root/Desktop/Binance-Trailing-Stop-Loss/trail.py", line 66, in run
self.update_stop()
File "/root/Desktop/Binance-Trailing-Stop-Loss/trail.py", line 36, in update_stop
amount = self.binance.get_balance(self.market.split("/")[0])
File "/root/Desktop/Binance-Trailing-Stop-Loss/binance.py", line 33, in get_balance
return float(self.ccxtClient.fetch_balance()[coin]['free'])
File "/usr/local/lib/python2.7/dist-packages/ccxt/binance.py", line 311, in fetch_balance
response = self.privateGetAccount(params)
File "/usr/local/lib/python2.7/dist-packages/ccxt/base/exchange.py", line 433, in inner
return entry(_self, **inner_kwargs)
File "/usr/local/lib/python2.7/dist-packages/ccxt/binance.py", line 1223, in request
response = self.fetch2(path, api, method, params, headers, body)
File "/usr/local/lib/python2.7/dist-packages/ccxt/base/exchange.py", line 458, in fetch2
return self.fetch(request['url'], request['method'], request['headers'], request['body'])
File "/usr/local/lib/python2.7/dist-packages/ccxt/base/exchange.py", line 551, in fetch
self.handle_errors(response.status_code, response.reason, url, method, headers, http_response, json_response)
File "/usr/local/lib/python2.7/dist-packages/ccxt/binance.py", line 1216, in handle_errors
raise exceptions[error](self.id + ' ' + body)
ccxt.base.errors.AuthenticationError: binance {"code":-1022,"msg":"Signature for this request is not valid."}
Traceback (most recent call last): File "main.py", line 21, in
main(options)
File "main.py", line 11, in main
task.run()
File "/root/Desktop/Binance-Trailing-Stop-Loss/trail.py", line 66, in run
self.update_stop()
File "/root/Desktop/Binance-Trailing-Stop-Loss/trail.py", line 36, in update_stop
amount = self.binance.get_balance(self.market.split("/")[0])
File "/root/Desktop/Binance-Trailing-Stop-Loss/binance.py", line 33, in get_balance
return float(self.ccxtClient.fetch_balance()[coin]['free'])
File "/usr/local/lib/python2.7/dist-packages/ccxt/binance.py", line 311, in fetch_balance
response = self.privateGetAccount(params)
File "/usr/local/lib/python2.7/dist-packages/ccxt/base/exchange.py", line 433, in inner
return entry(_self, **inner_kwargs)
File "/usr/local/lib/python2.7/dist-packages/ccxt/binance.py", line 1223, in request
response = self.fetch2(path, api, method, params, headers, body)
File "/usr/local/lib/python2.7/dist-packages/ccxt/base/exchange.py", line 458, in fetch2
return self.fetch(request['url'], request['method'], request['headers'], request['body'])
File "/usr/local/lib/python2.7/dist-packages/ccxt/base/exchange.py", line 551, in fetch
self.handle_errors(response.status_code, response.reason, url, method, headers, http_response, json_response)
File "/usr/local/lib/python2.7/dist-packages/ccxt/binance.py", line 1216, in handle_errors
raise exceptions[error](self.id + ' ' + body)
ccxt.base.errors.AuthenticationError: binance {"code":-1022,"msg":"Signature for this request is not valid."}