refactor: restructure aster/ to match standard exchange directory layout

- Move aster-adapter.ts → aster/adapter.ts (consistent with all other exchanges)
- Rename aster/client.ts → aster/gateway.ts (consistent naming)
- Update all imports across 5 files
- Delete old aster-adapter.ts
This commit is contained in:
discountry
2026-04-06 18:17:50 +08:00
parent fb906be27c
commit bc29b23027
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import type { BasisArbConfig } from "../config";
import type { ExchangeAdapter, FundingRateSnapshot } from "../exchanges/adapter";
import type { AccountSnapshot, Depth, AsterSpotBookTicker } from "../exchanges/types";
import { AsterSpotRestClient, AsterRestClient } from "../exchanges/aster/client";
import { AsterSpotRestClient, AsterRestClient } from "../exchanges/aster/gateway";
import { createTradeLog, type TradeLogEntry } from "../logging/trade-log";
import { StrategyEventEmitter } from "./common/event-emitter";
import { safeSubscribe, type LogHandler } from "./common/subscriptions";