QuantConnect / Lean.DataSource.Polygon

LEAN Polygon Data Source
3 stars 5 forks source link

Improve Failed Authentication Message #16

Closed AlexCatarino closed 4 months ago

AlexCatarino commented 4 months ago

Expected Behavior

The following message:

Failed to authenticate websocket. Make sure your API key is valid and has the right permissions.

included the information about the permission. For example, if we don't have permission to subscribe to equity, this information would prompt the user to remove equity from their algorithm.

Potential Solution

Add the name of the symbol we tried to subscribe to and failed.

Checklist

jaredbroad commented 4 months ago

Moving to handle this here: https://github.com/QuantConnect/Lean/issues/8037