This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* 1 - inject submitFilters * 2 - inject db instance * 3 - extract filtering infrastructure logic from makerModeFilter for reuse * 4 - separate out TimestampFormatString and DateFormatString * 5 - first draft of volumeFilter.go (untested, many TODOs) * 6 - fetch marketID in volumeFilter * 7 - better index for daily trades table query * 8 - take in volumeFilter config values * 9 - update sample_trader.cfg to include sample for volumeFilterConfig * 10 - StructString displays values in structs in a cleaner way + automatic pointer unwrapping * 11 - treat values as 0 when there are no recorded trades in the db for the day * 12 - fix initialization of dailyTBB to avoid a null pointer dereference * 13 - fix bug caused by variable shadowing in volumeFilter.go * 14 - limit check should be lte, not lt check * 15 - update filterOps() to run existing offers through filter function converts existing offers to the equivalent operation so it can be run through the filter function * 16 - added TODO for simplification of filterOps * 17 - update sample config to denote that volumeFilter only works with the sell strategy and requires POSTGRES_DB config * 18 - minPrice filter * 19 - add filterName to filterOps log line * 20 - MAX_PRICE filter * 21 - new format of filters in config file with corresponding filterFactory.go * 22 - force fail if any new filters are specified without sell or delete strategies * 23 - extract logic that never drops delete operations into filterOps() * 24 - included additional explanation in FILTERS section of sample config file * 25 - fix Errorf statement
- Loading branch information
1 parent
45d8033
commit 11d4927
Showing
21 changed files
with
915 additions
and
170 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
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.