资金费率套利引擎 BTC/ETH 现货+永续对冲
Go to file
root ab27e5a4da feat: 资金费率结算追踪 + 平仓PnL用真实手续费
资金费率追踪(position_sync.py):
- 每8小时结算窗口(UTC 0/8/16后5分钟内)查询币安income API
- 按symbol汇总FUNDING_FEE,累加到live_trades.funding_fee_usdt
- 只查最近30分钟内的记录,防止重复计入

平仓PnL改进:
- 从币安userTrades获取真实commission手续费(不再估算)
- PnL拆解: net = gross - fee_r - funding_r
- fee_usdt写入DB
- 日志输出完整拆解: gross/fee/funding/net
2026-03-02 10:10:11 +00:00
backend feat: 资金费率结算追踪 + 平仓PnL用真实手续费 2026-03-02 10:10:11 +00:00
docs feat: store and serve indicators per strategy 2026-03-02 02:52:17 +00:00
frontend feat: 完整11层实盘页面 + 补充API 2026-03-02 09:38:14 +00:00
.gitignore chore: gitignore __pycache__ 2026-02-28 11:21:00 +00:00
README.md Initial commit 2026-02-26 11:53:55 +00:00
signal-engine.log fix: clamp direction score to max weight (accel_bonus included) 2026-03-02 01:36:20 +00:00
V52_FRONTEND_TASK.md feat: V5.2 frontend differentiation - strategy tabs, side-by-side scores, visual badges 2026-03-01 12:21:19 +00:00
V52_TASK.md feat: sidebar navigation with V5.1/V5.2 separate entries 2026-03-01 12:25:40 +00:00

arbitrage-engine

资金费率套利引擎 BTC/ETH 现货+永续对冲