kelp
kelp copied to clipboard
[21] Refactor plugins package
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