-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude too-small trades from optimizers
- Exclude trades smaller than pool's minimum trade size from optimization in get_arb_trades and multipair_optimal arbitrage - Scale price errors by target price - Return price errors as dicts with trading pair as key - Add ArbTrade class to templates.trader
- Loading branch information
Showing
8 changed files
with
227 additions
and
76 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Added | ||
----- | ||
- Added ArbTrade class to templates.trader. It is a Trade object with a | ||
target price field, and a method to change the amount_in. | ||
|
||
Changed | ||
------- | ||
- Changed arbitrage optimizers to exclude trades smaller than a | ||
pool's minimum trade size from optimization. This reduces variability | ||
in optimization and prevents some potential errors. | ||
|
||
- Changed price errors returned by Traders to dicts indicating the | ||
trading pair for each error value. | ||
|
||
- Changed price errors to be normalized by target price. |
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.