kelp icon indicating copy to clipboard operation
kelp copied to clipboard

[21] Refactor plugins package

Open nikhilsaraf opened this issue 3 years ago • 0 comments

the plugins package is huge and currently serves as a catch-all for all code that is not an API and is specific to kelp (vs. common apis or tools such as ccxt sdk library in support). This makes it hard to work with.

I don't know exactly in which way we can subdivide it and which additional APIs we will need, but the following packages come to mind:

  • exchange
  • priceFeed
  • strategy
  • levelProvider
  • factory (can it be a separate package while maintaining clean exporting boundaries?)
    • exchangeFactory.go
    • strategyFactory.go
  • fillHandlers
  • filters

nikhilsaraf avatar Sep 20 '20 15:09 nikhilsaraf