和顺 / 知衡 返回所属 Agent
ZH-03.02

标的与口径

原能力

对齐证券、主体、市场、币种和报告期间,避免混用同名或异口径数据。(细化版 p.16–17)

首选项目

OpenRefine(BSD-3-Clause(主项目))。 OpenRefine

匹配范围

字符串聚类与字段/币种 schema 校验。

源码

OpenRefine · public class BinningClusterer

modules/core/src/main/java/com/google/refine/clustering/binning/BinningClusterer.java · 65–78 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
public class BinningClusterer extends Clusterer {

    public static class BinningClustererConfig extends ClustererConfig {

        @JsonIgnore
        private String _keyerName;
        @JsonIgnore
        private Keyer _keyer;
        @JsonIgnore
        private BinningParameters _parameters = null;

        @JsonIgnore
        public Keyer getKeyer() {
            return _keyer;
  • Copyright 2010, Google Inc.
  • * Redistributions of source code must retain the above copyright
  • copyright notice, this list of conditions and the following disclaimer
  • THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  • A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT

实现与验收要点

统一证券身份、合并/复权口径和实体冲突审批。