mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 08:18:07 +00:00
feat: 添加 Lighter 适配器及相关功能,支持 trailing stops 和新的交易逻辑
This commit is contained in:
@@ -32,6 +32,7 @@ const baseOrder: AsterOrder = {
|
||||
function createMockExchange(overrides: Partial<ExchangeAdapter> = {}): ExchangeAdapter {
|
||||
return {
|
||||
id: "mock",
|
||||
supportsTrailingStops: () => true,
|
||||
watchAccount: () => undefined,
|
||||
watchOrders: () => undefined,
|
||||
watchDepth: () => undefined,
|
||||
|
||||
Reference in New Issue
Block a user