Commit Graph
3 Commits
Author SHA1 Message Date
li 7d7f53b356 feat: contract uses num_lh, male avatar, captcha upgrade, full i18n
- Contract buy/close/cancel all use num_lh (contract balance) not num (spot)
- Wallet API returns contract (lh) account data block
- My.php returns user id field for frontend display
- Avatar: DiceBear avataaars male business style
- Captcha: 3x scaled text for readability
- Transfer log descriptions in English
- All billing descriptions in English
2026-04-05 13:05:37 +08:00
li 6a8ab13b7f feat: 后台一键平仓自动化(止盈止损同步)
一键平仓自动根据每个订单的止盈/止损价格确定平仓价:
- 做多: 市场价>=止盈价→以止盈价平; 市场价<=止损价→以止损价平
- 做空: 市场价<=止盈价→以止盈价平; 市场价>=止损价→以止损价平
- 其余情况以当前市场价平仓
自动写入平仓价、时间、收益,无需手动输入
2026-03-31 10:53:27 +08:00
li 1b24994e74 feat: 后端全量更新 - 含所有本次需求
- Contract.php: 返回合约账户余额(balance_contract)
- My.php: 地址管理增加BTC/ETH
- AppContract.php: 一键平仓(closeall)
- AppProxy.php: 代理专属注册链接 + 分级权限(L1/L2)
- site.php: 手续费减半(0.018→0.009)
- agent_permission_setup.sql: 代理权限SQL
- crypto_news_crawler.py: 新闻自动采集脚本
2026-03-30 20:16:32 +08:00