hendan
1
Hi, so I’m trying to run state on my Mac, but I’ve been getting an error on the “import” function. Any ideas what I might try or look into?
[Pizza-Team/Trading-Bot] my computer name Trading-Bot % state import robin_stocks as r
╔════════════════════╗
║ Importing Packages ║
╚════════════════════╝
Something Went Wrong
────────────────────
x Cannot obtain change request
zakg
2
Hi @hendan!
Thanks for writing!
state import
is used on the command line to read a list of packages in from a requirements.txt file.
Just use the sample Python code from https://www.activestate.com/blog/how-to-build-an-algorithmic-trading-bot/ without adding state
in front of the import
statement and things should work.
Cheers!
–zak