Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled NullReferenceException #32

Open
4 tasks done
AlexCatarino opened this issue Apr 29, 2024 · 0 comments
Open
4 tasks done

Unhandled NullReferenceException #32

AlexCatarino opened this issue Apr 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@AlexCatarino
Copy link
Member

Expected Behavior

LEAN runs without NullReferenceException.

Actual Behavior

2024-04-26T08:00:41.5926068Z TRACE:: CloudLiveTradingResultHandler.BrokerageMessage(): Error - Code: Unauthorized - Required scope(s): scope-stream.scopeSet - Brokerage: TradierBrokerage
2024-04-26T08:00:41.5993643Z ERROR:: Extensions.SetRuntimeError(): Extensions.SetRuntimeError(): RuntimeError at 04/26/2024 08:00:40 UTC. Context: Brokerage Error System.Exception: Required scope(s): scope-stream.scopeSet
2024-04-26T08:00:41.7012011Z ERROR:: TradierBrokerage.a():  System.NullReferenceException: Object reference not set to an instance of an object.
   at QuantConnect.Brokerages.Tradier.TradierBrokerage.c()
   at QuantConnect.Brokerages.Tradier.TradierBrokerage.a()

Potential Solution

N/A

Reproducing the Problem

An algorithm with universe selection similar to
https://quantpedia.com/strategies/trend-following-effect-in-stocks/

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue
@AlexCatarino AlexCatarino added the bug Something isn't working label Apr 29, 2024
@Martin-Molinero Martin-Molinero assigned Romazes and unassigned Romazes Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants