mirror of
https://github.com/multipleof4/KalBot.git
synced 2026-03-17 14:01:02 +00:00
Fix: shift late momentum start from 5m to 6m
This commit is contained in:
@@ -6,8 +6,8 @@ import { BaseStrategy } from './base.js';
|
||||
* Rules:
|
||||
* - Buys momentum on YES or NO
|
||||
* - Requires side price >= triggerPct (default 75)
|
||||
* - Only allowed after first 5 minutes of market lifecycle
|
||||
* - Default window: elapsed minute 5 through 15
|
||||
* - Only allowed after first 6 minutes of market lifecycle
|
||||
* - Default window: elapsed minute 6 through 15
|
||||
*/
|
||||
export class LateMomentumStrategy extends BaseStrategy {
|
||||
constructor(config = {}) {
|
||||
@@ -17,7 +17,7 @@ export class LateMomentumStrategy extends BaseStrategy {
|
||||
slippage: config.slippage || 3,
|
||||
cooldownMs: config.cooldownMs || 20000,
|
||||
marketDurationMin: config.marketDurationMin || 15,
|
||||
minElapsedMin: config.minElapsedMin || 5,
|
||||
minElapsedMin: config.minElapsedMin || 6,
|
||||
maxElapsedMin: config.maxElapsedMin || 15,
|
||||
...config
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user