매매 시그널 알림 수정
This commit is contained in:
@@ -43,6 +43,25 @@ export function saveTradeNotificationListSort(sort: TradeNotificationListSort):
|
||||
patchUiPreferences({ tradeNotifications: { listSort: sort } });
|
||||
}
|
||||
|
||||
export type TradeNotificationReadFilter = 'all' | 'unread';
|
||||
|
||||
export const TRADE_NOTIFICATION_READ_FILTER_OPTIONS: {
|
||||
value: TradeNotificationReadFilter;
|
||||
label: string;
|
||||
}[] = [
|
||||
{ value: 'all', label: '전체' },
|
||||
{ value: 'unread', label: '미확인' },
|
||||
];
|
||||
|
||||
export const TRADE_NOTIFICATION_SORT_OPTIONS: {
|
||||
value: TradeNotificationListSort;
|
||||
label: string;
|
||||
}[] = [
|
||||
{ value: 'market', label: '종목순' },
|
||||
{ value: 'newest', label: '최신시간순' },
|
||||
{ value: 'oldest', label: '이전시간순' },
|
||||
];
|
||||
|
||||
/** 알림 목록 시간봉 필터 — '' = 전체 */
|
||||
export type TradeNotificationCandleFilter = '' | (typeof STRATEGY_CANDLE_TYPE_OPTIONS)[number]['value'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user