yura505 / robinbot

Robinhood API based swing trading bot
134 stars 35 forks source link

Block scope and formatting #9

Closed AGS- closed 6 years ago

AGS- commented 6 years ago

Blocks scopes everything and adjusts formatting a little bit for readability

AGS- commented 6 years ago

The general convention in es6 is to no longer use var. https://babeljs.io/learn-es2015/#let--const

I noticed that testing is a little bit manual right now (via running backtest). I'd be happy to add a few unit tests to key components since that would make testing and contribution a little bit easier.