feat: add time-based multiplier sizing, pause-after-win, and outcome-based win detection

- Time-based bet sizing multiplier (SNIPER_MULTIPLIERS, UTC+8 windows)
- Pause N rounds per asset after win (SNIPER_PAUSE_ROUNDS_AFTER_WIN)
- Win detection via payoutNumerators outcome check instead of redeem value threshold

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
direkturcrypto
2026-03-11 12:53:48 +07:00
co-authored by Claude Opus 4.6
parent 9e78fb1bfe
commit a8f28c961b
7 changed files with 268 additions and 19 deletions
+12
View File
@@ -152,6 +152,18 @@ SNIPER_TIER3_PRICE=0.01 # Lowest price, largest allocation (50%)
# Example: 30 shares → 6@3c + 9@2c + 15@1c
SNIPER_MAX_SHARES=15
# ── Sniper Sizing Multiplier (UTC+8) ───────────────────────
# Time-based bet sizing multiplier. Format: HH:MM-HH:MM:factor,...
# Multiplies SNIPER_MAX_SHARES during the specified time windows.
# Default = 1.0x outside any window.
# Example: US afternoon bump + Asia morning discount
SNIPER_MULTIPLIERS=21:00-00:00:1.41,06:00-12:00:0.85
# ── Sniper Pause After Win ─────────────────────────────────
# Number of 5-min rounds to pause an asset after a win is detected.
# Set to 0 to disable.
SNIPER_PAUSE_ROUNDS_AFTER_WIN=3
# ── Sniper Session Schedule (all times UTC+8) ──────────────
# Format: HH:MM-HH:MM,HH:MM-HH:MM (comma-separated sessions)
# Assets without a schedule entry are always active.