-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: Put market making logic outside of core
This moves the market making logic outside of core. There is a new `MarketMaker` type which calls into core. When running the `MarketMaker`, one strategy can be defined for each dex market. Since the Gap strategy was originally designed to have multiple bots running on a market, the strategy will have to be modified, but this diff only deals with refactoring the logic outside of core. The RPCServer is updated with startMarketMaking and stopMarketMaking commands. Market making can be started by providing a path to a config file. New Core methods are also added to support the MarketMaker: `ExchangeMarket` and `SingleLotFees`.
- Loading branch information
Showing
29 changed files
with
1,702 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.