alpacahq / Momentum-Trading-Example

An example algorithm for a momentum-based day trading strategy.
657 stars 218 forks source link

"Invalid Syntax" error on start #9

Closed briannicholls closed 4 years ago

briannicholls commented 4 years ago

Hey, I'm getting the following error on initialization, can't get it running. Made no changes to the code other than replacing the key, secret etc:

    async def handle_trade_update(conn, channel, data):
        ^
SyntaxError: invalid syntax
umitanuki commented 4 years ago

Please use python 3.6 or above. This is a relatively new python syntax.