deb-sig / double-entry-generator

Rule-based double-entry bookkeeping importer (from Alipay/WeChat/Huobi etc. to Beancount/Ledger).
https://github.com/deb-sig/double-entry-generator
Apache License 2.0
537 stars 79 forks source link

[fix] add field comments and delete useless fields. #98

Closed ramsayleung closed 1 year ago

ramsayleung commented 1 year ago

Description

htsec 卖出和买入模板的有三个字段BaseUnit, TargetUnit, CommissionUnit是被定义与赋值了,但是未在模板中使用的,猜测是拷贝自 huobi 模板,因此希望将无用字段删除,降低维护和心智成本.

Modification

概括:

  1. ledger -htsec模板增加字段说明
  2. htsec模板 删除无用字段

Motivation and Context

97

Dependencies

None

Type of change

Please delete options that are not relevant.

How has this been tested?

make test: all tests pass