© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Trader
Hello sir,
how one can run multiple strategies in smartapi.
running different strategy.py files and accessing obj and data from one login file "login.py". As accessing/importing obj & data from login.py file re-run's the login file.
Thank you.
Yash Roongta
Finance & Coding Enthusiast
So you need to store your smartapi object after logging into a global variable which can be accessed across all scripts/strategies you are running.