Closed andrewsauter-nbcuni closed 3 years ago
I think it's more dangerous do it that way, because with no coding experience your API key could end online by accident if it's written in a file.
@riolcrt I'm not following, it's already in a file. I'm suggesting he take it out of the main file where the code is. Literally no difference in functionality, just less confusing for people to configure.
Keys now in creds.yml creds.yml is gitignored.
https://github.com/CyberPunkMetalHead/Binance-volatility-trading-bot/blob/0343a3d9329a40eb19ae9e4c25bad0021b9fcbcc/Binance%20Detect%20Moonings.py#L30
Since this will largely be used by people without coding experience, I would put all configuration items in a separate JSON config file. This will make it easier to read and less confusing for people to configure and setup properly.