Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@ const PerpsMarketDetailsView: React.FC<PerpsMarketDetailsViewProps> = () => {
}, [candleData, selectedCandlePeriod, visibleCandleCount]);

// Check if user has an existing position for this market
// Also provides positionOpenedTimestamp for stop loss prompt timing
const {
isLoading: isLoadingPosition,
existingPosition,
Expand Down
5 changes: 0 additions & 5 deletions app/components/UI/Perps/constants/perpsConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,6 @@ export const STOP_LOSS_PROMPT_CONFIG = {
// No banner shown until ROE drops below this value
MinLossThreshold: -10,

// Debounce duration for ROE threshold (milliseconds)
// User must have ROE below threshold for this duration before showing banner
// Prevents banner from appearing during temporary price fluctuations
RoeDebounceMs: 60_000, // 60 seconds

// Minimum position age before showing any banner (milliseconds)
// Prevents banner from appearing immediately after opening a position
PositionMinAgeMs: 120_000, // 2 minutes
Expand Down
Loading
Loading