mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 01:08:07 +00:00
feat: 更新 Lighter 适配器的账户快照逻辑,支持市场符号和市场 ID 过滤功能
This commit is contained in:
@@ -660,7 +660,13 @@ export class LighterGateway {
|
||||
|
||||
private emitAccount(): void {
|
||||
if (!this.accountDetails) return;
|
||||
const snapshot = toAccountSnapshot(this.displaySymbol, this.accountDetails, this.positions);
|
||||
const snapshot = toAccountSnapshot(
|
||||
this.displaySymbol,
|
||||
this.accountDetails,
|
||||
this.positions,
|
||||
[],
|
||||
{ marketSymbol: this.marketSymbol, marketId: this.marketId }
|
||||
);
|
||||
this.accountEvent.emit(snapshot);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user