mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 17:28:08 +00:00
feat(maker-points): enhance configuration for maker points bands
Added new configuration options for maker points bands, including target distances and maximum distance limits. Updated the logic to handle these configurations, ensuring backward compatibility with existing defaults. Enhanced documentation and tests to cover the new features and ensure correct functionality across the system.
This commit is contained in:
@@ -67,7 +67,13 @@ describe("MakerPointsEngine defense-mode account staleness", () => {
|
||||
band0To10Amount: 0.01,
|
||||
band10To30Amount: 0.01,
|
||||
band30To100Amount: 0.01,
|
||||
band0To10Bps: 9,
|
||||
band10To30Bps: 29,
|
||||
band30To100Bps: 40,
|
||||
maxDistanceBps: 95,
|
||||
minRepriceBps: 3,
|
||||
bandRepriceRatio: 0.15,
|
||||
slOffsetBps: 2,
|
||||
enableBinanceDepthCancel: false,
|
||||
filterMinDepth: 0,
|
||||
},
|
||||
@@ -107,7 +113,13 @@ describe("MakerPointsEngine defense-mode account staleness", () => {
|
||||
band0To10Amount: 0.01,
|
||||
band10To30Amount: 0.01,
|
||||
band30To100Amount: 0.01,
|
||||
band0To10Bps: 9,
|
||||
band10To30Bps: 29,
|
||||
band30To100Bps: 40,
|
||||
maxDistanceBps: 95,
|
||||
minRepriceBps: 3,
|
||||
bandRepriceRatio: 0.15,
|
||||
slOffsetBps: 2,
|
||||
enableBinanceDepthCancel: false,
|
||||
filterMinDepth: 0,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user