algo-trading-using-fyers-broker-api icon indicating copy to clipboard operation
algo-trading-using-fyers-broker-api copied to clipboard

Throws Error m is not defined

Open sapare542 opened this issue 2 years ago • 2 comments

sapare542 avatar Jun 29 '22 06:06 sapare542

If you run ipython3 fyers/strategy.py , it should not throw that error , in line 32 , it says "from common import message as m". I have imported m there , that "m" is used to send messages to telegram , you can modify where to send message by modifying code in common/message.py.It won't throw if you don't change that too because the code is kept in try.. exception block .

srikar-kodakandla avatar Jun 29 '22 08:06 srikar-kodakandla

Hi Srikar,

I am using python3 not ipython3.will it work? I am also getting the below error

rm: intimate.txt: No such file or directory rm: ticks.db: No such file or directory Traceback (most recent call last): File "/Users/sprasad/Documents/dhApp/algo-trading-using-fyers-broker-api/fyers/strategy.py", line 29, in from fyers.accounts_login import login_accounts ModuleNotFoundError: No module named 'fyers'

sibaps80 avatar Aug 24 '23 08:08 sibaps80