feat: 添加 Lighter 适配器及相关功能,支持 trailing stops 和新的交易逻辑

This commit is contained in:
discountry
2025-09-30 22:08:05 +08:00
parent e83bdfccf9
commit c8b0ab1c8e
101 changed files with 90621 additions and 3 deletions
+1
View File
@@ -32,6 +32,7 @@ const baseOrder: AsterOrder = {
function createMockExchange(overrides: Partial<ExchangeAdapter> = {}): ExchangeAdapter {
return {
id: "mock",
supportsTrailingStops: () => true,
watchAccount: () => undefined,
watchOrders: () => undefined,
watchDepth: () => undefined,