Real-time BTC cross-exchange arbitrage detection (Kraken, Bybit, OKX, Binance) with React dashboard, GitHub Actions CI, and documented Fly.io deploy workflow. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
304 B
TypeScript
11 lines
304 B
TypeScript
import type { IRebalancer } from "../../domain/ports/ports.js";
|
|
|
|
/** Periodic inventory correction (withdrawal fee only here, not per trade). */
|
|
export class RebalanceInventory {
|
|
constructor(private readonly rebalancer: IRebalancer) {}
|
|
|
|
tick(now: number): void {
|
|
this.rebalancer.tick(now);
|
|
}
|
|
}
|