SyntaxError: 'await' outside function reticulate async connection to api

When trying to access a streaming data feed from within a Python code chunk I get the above error. When in a standalone Python IDE - PyCharm, the code works (see code below).

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.