Skip to content

v0.9.0

Compare
Choose a tag to compare
@samjtro samjtro released this 04 Nov 01:56
· 4 commits to main since this release

DONE:

  • go-schwab/utils/oauth migration
  • exception handling: github.com//issues/51

CHANGELOG:

  • finally got x/oauth2 working
  • moved token storage into cwd/.json
  • refactored utils.go, removed unused funcs
  • edited README, gitignore to reflect changes
  • remove DB struct, in favor of native oauth2.Token struct, so that we don't have to do line-by-line assignment in Initiate
  • random README.md updates
  • added CONTRIBUTING.md, made more changes to README.md
  • bump go deps
  • changed from using the fatal isErrNil function to returning the err if non-nil, allowing for better error management & enabling live trading
  • added findAllEnvFiles(), pass to Initiate() to allow any .env file name convention to work
  • changed Initiate implementation to reflect go-schwab/oauth2ns changes
  • refactored some misc functions
  • refactor utils.go to reflect removal of previous oauth implementation in favor of x/oauth2, vis-a-vis go-schwab/oauth2ns
  • check -> isErrNil
  • working on multi-leg orders
  • removed redundant json struct instructions, changed some struct names to reflect naming convention of Schwab TraderAPI
  • README updates, but i will probably reverse those at a later date