/** * When to call editPosition to align exchange SL with dsl.engine exchangeStopLossTriggerPx. */ import type { DslState, DslTickResult } from "../../types/dsl/index.js"; /** Minimum absolute price delta (USD) to treat as a meaningful SL move. */ export declare const SL_SYNC_MIN_DELTA_ABS = 0.0001; /** Minimum relative delta vs trigger price (e.g. 0.0001 = 0.01%) so high-priced assets do not spam edits. */ export declare const SL_SYNC_MIN_DELTA_RELATIVE = 0.0001; /** * Whether to call `editPosition` to align the exchange SL with `exchangeStopLossTriggerPx`. * Phase 1: skip tier-only syncs (trigger stays absolute). Phase 2: sync on tier/phase and * when the effective floor moves (exchange carries the full stop). * Always sync when there is no SL order id yet or a prior SL sync failed (retry). */ export declare function shouldSyncExchangeSl(result: DslTickResult, next: DslState): boolean; //# sourceMappingURL=exchange-sync.d.ts.map