CyberPunkMetalHead / Binance-volatility-trading-bot

This is a fully functioning Binance trading bot that measures the volatility of every coin on Binance and places trades with the highest gaining coins If you like this project consider donating though the Brave browser to allow me to continuously improve the script.
MIT License
3.39k stars 774 forks source link

NameError: name 'trade' is not defined - Noobie here #201

Open NeonBlight11 opened 3 years ago

NeonBlight11 commented 3 years ago

This may not be an issue per se,

But I can't get to even run the code, when I try to run it on the compiler I get this:

_Traceback (most recent call last): Press Ctrl-Q to stop the script orders, lastprice, volume = trade() NameError: name 'trade' is not defined [Finished in 2.295s]

I double-checked and 'trade' is indeed defined earlier in the code, here:

def trade(): '''Place Buy market orders for each volatile coin found'''

I have no experience in Python whatsoever, any suggestions are welcome, thx :))