kzh-dev / pine-bot-client

Trading bot using Pine script
178 stars 46 forks source link

When I try python pine-bot-client.py init <your Pine script> I get an error #4

Open kadiemq opened 3 years ago

kadiemq commented 3 years ago

I get this error when I try python pine-bot-client.py init <your Pine script>:

2021-05-08 01:37:40,198: CRITICAL: fail to execute 'init: Bad status code: <Response [404]>
Traceback (most recent call last):
  File "C:\Users\Kadiem Alqazzaz\Desktop\pine-bot-client-master\pine-bot-client.py", line 144, in <module>
    do_init(params, pine_fname, pine_str)
  File "C:\Users\Kadiem Alqazzaz\Desktop\pine-bot-client-master\command\init.py", line 9, in do_init
    res = call_api(params, '/scan-input', code=pine_str)
  File "C:\Users\Kadiem Alqazzaz\Desktop\pine-bot-client-master\util\comm.py", line 23, in call_api
    _, json = _call_api(ap_params, path, **kws)
  File "C:\Users\Kadiem Alqazzaz\Desktop\pine-bot-client-master\util\comm.py", line 15, in _call_api
    raise BadResponse('Bad status code: {}'.format(r))
util.comm.BadResponse: Bad status code: <Response [404]>