-
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.
Merge pull request #279 from curveresearch/exclude-trades
Exclude too-small trades from optimizer
- Loading branch information
Showing
20 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
Binary file modified
BIN
+0 Bytes
(100%)
test/data/0x4ebdf703948ddcea3b11f675b4d1fba9d2414a14-results_per_run.pickle
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
test/data/0x4ebdf703948ddcea3b11f675b4d1fba9d2414a14-results_per_trade.pickle
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
test/data/0x4ebdf703948ddcea3b11f675b4d1fba9d2414a14-results_summary.pickle
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
test/data/0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7-results_per_run.pickle
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
test/data/0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7-results_per_trade.pickle
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
test/data/0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7-results_summary.pickle
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
test/data/0xd632f22692fac7611d2aa1c0d552930d43caed3b-results_per_run.pickle
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
test/data/0xd632f22692fac7611d2aa1c0d552930d43caed3b-results_per_trade.pickle
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
test/data/0xd632f22692fac7611d2aa1c0d552930d43caed3b-results_summary.pickle
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
test/data/0xdebf20617708857ebe4f679508e7b7863a8a8eee-results_per_run.pickle
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
test/data/0xdebf20617708857ebe4f679508e7b7863a8a8eee-results_per_trade.pickle
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
test/data/0xdebf20617708857ebe4f679508e7b7863a8a8eee-results_summary.pickle
Binary file not shown.
Oops, something went wrong.