Failing in Live - Please help

[PLATFORM | 2021/06/10, 10:08:26] Start-processing:

 

Blueshift version 1.0.3 (Alpha). Please visit this link for terms and conditions.

Your algo execution will start shortly. Please note the details below for future reference

 

Execution name (hash): Sleetduke Forger (4f87f457501d07d24d1d2e6faa4d8e82372e86ea)

Strategy (hash): demo_bollinger (1965789ef1a0e34455427a7330ba2359 )

Starting capital: 5000 (in currency of your broker account)

Order execution: User confirmation required: New buy or sell orders required to be confirmed by user on My Trade Alerts,

before they are sent to broker for execution

Launch-time: Thu Jun 10 2021 14:08:24 GMT+0000 (Coordinated Universal Time) (UTC)

End date: Fri Jun 11 2021 00:00:00 GMT+0000 (Coordinated Universal Time)

 

Once the algo is initialized, performance and other details will be updated in the dashboard.

 

Creating necessary resources for the algo execution …

 

[LOG | 2021/06/10, 10:08:40] Execution resources created. Queueing up for start …

 

[LOG | 2021/06/10, 10:08:40] Execution queued. Blueshift will start shortly…

 

[PLATFORM | 2021/06/10, 10:08:42] Reticulating spline, setting up algorithm environment…

 

[PLATFORM | 2021/06/10, 10:08:42] Done.

 

[PLATFORM | 2021/06/10, 10:08:42] Integrating volatility over z-axis…

 

[PLATFORM | 2021/06/10, 10:08:42] Done.

 

[PLATFORM | 2021/06/10, 10:08:42] Configuring lunchtime …

 

[PLATFORM | 2021/06/10, 10:08:42] Done.

 

[PLATFORM | 2021/06/10, 10:08:42] Tokenizing gravity…

 

[PLATFORM | 2021/06/10, 10:08:42] Done.

 

[PLATFORM | 2021/06/10, 10:08:42] Evaluating gene expression…

 

[PLATFORM | 2021/06/10, 10:08:42] Connecting to the broker …

 

[PLATFORM | 2021/06/10, 10:08:42] failed to connect:unauthorized. {"stream":"authorization","data":{"action":"authenticate","status":"unauthorized"}}

 

[PLATFORM | 2021/06/10, 10:08:42]

 

[PLATFORM | 2021/06/10, 10:08:43] Done

 

[PLATFORM | 2021/06/10, 10:08:46] Fetching trade data …

 

[PLATFORM | 2021/06/10, 10:08:47] Traceback (most recent call last):

 

[PLATFORM | 2021/06/10, 10:08:47] File "/***blueshift", line 8, in 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] sys.exit(main())

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] File "/******core.py", line 829, in call

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] return self.main(*args, **kwargs)

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] File "/******core.py", line 782, in main

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] rv = self.invoke(ctx)

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] File "/******core.py", line 1259, in invoke

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] return ctx.invoke(self.callback, **ctx.params)

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] File "/******core.py", line 610, in invoke

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] return callback(*args, **kwargs)

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] File "/***decorators.py", line 21, in new_func

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] return f(get_current_context(), args, kwargs)

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] File "/
main.py", line 310, in run

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] *args, **kwargs)

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] tmp_ref = self.cls(*args,**kwargs)

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] File "/*******environment.py", line 102, in init

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] self._create(*args, kwargs)

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] File "/*******environment.py", line 320, in _create

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] self.create_broker(*args, kwargs)

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] File "/*******environment.py", line 523, in create_broker

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] register_broker(name, factory_name, brkr_dict)

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] self._brokers[broker_name] = factory(*args, kwargs)

 

[PLATFORM | 2021/06/10, 10:08:47]

 

[PLATFORM | 2021/06/10, 10:08:47] File "/
init.py", line 65, in ALPACA

 

[PLATFORM

It seems like you are facing some authorization issues from the broker. If it is Alpaca, please check your access key and secret key is valid by loging into Alpaca dashboard. Once confirmed, I suggest you delete the broker configuration from your profile page and add it back again. Make sure you are supplying the api key and secret key during the set up when asked.

I had two demo-resistance algo's working and now everything fails.

Question: When I connect tothe broker what keys should I put ? Are the API and Secret key the keys from Alpeca? or Do I need Polygon API also?

I now have an IES API account can I use that.

I would greatly appreciate your help.

Roderic