anilshanbhag / RobinhoodShell

A command line shell for trading stocks using Robinhood
MIT License
411 stars 94 forks source link

RobinhoodShell #32

Closed kayodeadaniel closed 4 years ago

kayodeadaniel commented 4 years ago

I get this when I try to execute ./shell.py

:~/RobinhoodShell$ ./shell.py File "./shell.py", line 123 change = f"{change:.3f}" ^ SyntaxError: invalid syntax

please kindly look at this please am using python 3

FCCMac commented 4 years ago

This is a python version issue, as f strings are a 3.6 feature. The easy solution is to upgrade your python install. If another module requires an earlier version of python, then you'll have to swap out all of the f strings with string.format() calls instead. I'm actually working on this right now since zipline requires 3.5.

anilshanbhag commented 4 years ago

fixed by #34