실시간 웹소켓 리팩토링
This commit is contained in:
@@ -27,6 +27,7 @@ export function useKisTradeWebSocket(
|
||||
onTick?: (tick: DashboardRealtimeTradeTick) => void,
|
||||
options?: {
|
||||
orderBookSymbol?: string;
|
||||
orderBookMarket?: "KOSPI" | "KOSDAQ";
|
||||
onOrderBookMessage?: (data: DashboardStockOrderBookResponse) => void;
|
||||
},
|
||||
) {
|
||||
@@ -45,6 +46,7 @@ export function useKisTradeWebSocket(
|
||||
|
||||
useOrderbookSubscription({
|
||||
symbol: options?.orderBookSymbol,
|
||||
market: options?.orderBookMarket,
|
||||
isVerified,
|
||||
credentials,
|
||||
marketSession,
|
||||
|
||||
Reference in New Issue
Block a user