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.
volumeFilter should be configurable to include "exact" amounts (closes …
…#327) (#328) * 1 - add exact and ignore params to the volume filter in sample_trader.cfg * 2 - read in exact/ignore mode to volume filter config * 3 - implement exact mode in volumeFilter * 4 - update filterOps to correctly count kept vs. transformed operations with the newly added capability in volumeFilter * 5 - separate out handling for non-offer-ops which makes things a little simpler with typing * 6 - remove TODO about this issue form volumeFilter * 7 - fix big bug which resulted in submission failures (non-increment of index) * 8 - update comment * 9 - add comment to filterOps about "no update operations problem" * 10 - refactor filterOps: add "ignored" field to filterCounter for buy/sell offers * 11 - refactor filterOps: fold original amount and price into originalMSO variable * 12 - refactor filterOps: extract out selectBuySellList and selectOpOrOffer * 13 - refactor filterOps: extract out logic that handles calling and result of the filterFn for reuse * 14 - fix bug with originalMSO getting modified along with newOp * 15 - refactor filterOps: add fix to handle remainingOffers correctly with common function for buy/sell sides includes logic to ignore offers in ignore list * 16 - moved exchange constraints filter to be last
- Loading branch information
1 parent
116f7d1
commit 66ea610
Showing
5 changed files
with
327 additions
and
128 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
Oops, something went wrong.