- Install node packages
- Define API keys as constants (I have them set in .bashrc, trying to get them set in .env for dotenv, as this is expected behavior):
- BINANCEPUB=apikeyhere
- BINANCESEC=secretkey
- Thank you @jaxrtech for the lion's share of commit 03ea286e59
- Thank you @HeikaHaku for the lion's share of commit 9c352f7fa
- https://stackoverflow.com/questions/8128578/reading-value-from-console-interactively
- https://stackoverflow.com/questions/19739755/nodejs-callbacks-simple-example
- https://github.com/bhoriuchi/readline-promise
- https://nodejs.org/api/readline.html#readline_rl_prompt_preservecursor
- https://github.com/jaggedsoft/node-binance-api