Hi YG8,
I'm not sure this will run in Jupyter or in the shell (depending on how it is set up).
> I did use the pip option and installed both the oandapyV20 module and pandas
Good, that's an important step!
> SyntaxError: multiple statements found while compiling a single statement
That is probably because the shell usually just takes one statement at a time. It is not meant to execute scripts.
=> I would suggest to just run the script locally: python <scriptname>. Or, if your python is installed accordingly, just run the <script.py>, and it will be interpreted by python.
Good luck!