Course Name: Automated Trading with IBridgePy using Interactive Brokers Platform, Section No: 5, Unit No: 5, Unit type: Video
def initialize(context):
context.run_once = False
context.security = symbol('AAPL')
Course Name: Automated Trading with IBridgePy using Interactive Brokers Platform, Section No: 5, Unit No: 5, Unit type: Video
def initialize(context):
context.run_once = False
context.security = symbol('AAPL')
Hi Stefan,
It would be great if you could please share the error message you are getting while trying the above code, as it would help us debug the issue. Also, as an alternative, you can use the superSymbol method. You can find the details of the superSymbol method here.
Hope this helps!
Thanks,
Akshay