fix position

This commit is contained in:
discountry
2025-12-08 19:57:57 +08:00
parent 668c3a57d3
commit 974d3017e0
2 changed files with 9 additions and 9 deletions
-8
View File
@@ -301,11 +301,3 @@ function normalizeSymbolForms(value: string): string[] {
if (base) forms.add(base);
return Array.from(forms);
}
function normalizeMarketType(value: string | null | undefined): "perp" | "spot" | undefined {
if (!value) return undefined;
const normalized = value.toLowerCase();
if (normalized === "spot") return "spot";
if (normalized === "perp" || normalized === "perpetual" || normalized === "futures") return "perp";
return undefined;
}