anti-gambling-trader-tw
Free open-source investment anti-fraud, trading statistics and automated trading program tools: default PaperBroker, provides 14 broker/exchange options; trade record analysis runs locally.
AI translation
评分算法: 完全公开,任何人都能复现
Translation pending
FinancePythonGitHub @fxcn-algorithmOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The forex broker rating algorithm behind fxcn.com - rules, reference implementation and public data snapshots. MIT licensed. All 129 published scores reproduce exactly.
Taken from the repository README
Loading the full README.
Read the full README ↗fxcn.com 给外汇经纪商打分用的完整算法、规则文件与公开数据快照。
MIT 授权。任何人都可以下载、修改、用自己的数据复现完整评分。
不需要装任何依赖,Python 3.8+ 即可:
git clone https://github.com/fxcn-algorithm/algorithm.git
cd fxcn-algorithm
python3 tests/test_reproduce.py data/snapshot-2026-10-26.json
它会用本仓库的算法重算快照里每一家的分数,逐家与 fxcn.com 当时公布的分数比对:
快照 : data/snapshot-2026-10-26.json
算法版本 : v1 · 快照日期 2026-10-26
比对 : 94 家(跳过 35 家未评分)
✓ 94 家全部复现一致(总分、五个维度、颜色)
35 家没有总分的原因见 RFC-0001。每份快照只对应它自己那一天的分数;旧快照 snapshot-2026-08-28.json 仍可复现当天的 129 家,snapshot-2026-10-11.json 仍可复现当天的 94 家。
任何一家对不上,退出码就是非 0。这就是「算法 100% 开源」的可执行版本 —— 不是一句标语,是一条你能亲自跑的命令。
想看单独一家的逐条加减分依据:
python3 algorithm/score.py data/snapshot-2026-10-26.json ic-markets
ic-markets 85.00 green reg=100.0 risk=90.0 trans=85.0 rep=50.0 disc=100.0 覆盖 4/5
逐条依据:
[regulation ] REG_LIC_ASIC +30.00 持有 Tier 1 监管 (ASIC) 牌照 ← https://asic.gov.au/...
[regulation ] REG_LIC_CySEC +30.00 持有 Tier 1 监管 (CySEC) 牌照 ← https://www.cysec.gov.cy
[risk ] RISK_FUND_SEG +30.00 客户资金独立托管,可验证
...
algorithm/rules.json 全部权重、加减分、阈值 —— 规则与代码分离,便于逐行 review
algorithm/score.py 参考实现(零第三方依赖)
data/snapshot-YYYY-MM-DD.json 公开数据快照 + 官网当时的分数(用于比对)
tests/test_reproduce.py 复现验证:全部经纪商逐家比对
rfc/ 权重变更的 30 天公示流程
ALGORITHM.md 规则全文说明
总分 = 0.30×监管 + 0.20×风控 + 0.20×透明 + 0.20×口碑 + 0.10×披露
每个维度基础分 50,按规则加减后 clip 到 [0, 100]。完整规则见 ALGORITHM.md。
三个容易被忽略、但很关键的设计:
Review
(作者是 FXCN 这个机构)而不是 AggregateRating。快照的字段格式见 data/README.md。按同样的结构准备一份 JSON,然后:
python3 algorithm/score.py your-data.json
改权重要走 rfc/ 里的 30 天公示流程 —— 这是 fxcn.com 对读者的承诺, 不是内部规矩。修实现 bug 不需要公示,但要单独开 PR 并附分数 diff。
快照只包含算法真正读取的字段,并且不含任何个人用户评论内容 —— 口碑维度只用到评论条数与平均分这两个聚合值。牌照与处罚的证据链接指向监管机构公开页面。
这些都会随数据补齐而变化,每次变化都会有新的快照与 CHANGELOG。
算法的输入不止仓库里的快照。辖区规则本身也是公开数据集(CC BY 4.0,JSON + CSV):
引用本仓库请见 CITATION.cff,或用:
FXCN (2026). FXCN forex broker rating algorithm, v1.0.0. https://github.com/fxcn-algorithm/algorithm
The complete scoring algorithm behind fxcn.com's forex broker ratings — rules, reference implementation, and public data snapshots. MIT licensed.
Verify we are not cheating, in 30 seconds, with no dependencies:
python3 tests/test_reproduce.py data/snapshot-2026-10-26.json
# ✓ 94 brokers reproduce exactly; 35 records without a published total are skipped (see RFC-0001)
The script recomputes every broker from the public snapshot and compares against the scores fxcn.com published on that date. If a single broker disagrees, it exits non-zero.
Total = 0.30×Regulation + 0.20×Risk + 0.20×Transparency + 0.20×Reputation + 0.10×Disclosure
Each dimension starts at 50, rules add or subtract, then it is clipped to [0, 100]. Full rules in ALGORITHM.md; weight changes go through the 30-day public RFC in rfc/.
Known limits, stated up front: the reputation dimension has almost no data yet (0 of 129 brokers have ≥5 reviews), trading conditions are not yet scored, and there are currently 0 confirmed enforcement actions. We would rather label a dimension "not assessed" than invent a number for it.