Skip to content

Commit

Permalink
Merge pull request akfamily#428 from jindaxiang/develop
Browse files Browse the repository at this point in the history
docs(docs): docs
  • Loading branch information
albertandking authored Jul 21, 2020
2 parents c33d4d2 + 7180ac9 commit ddd01f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/contributor.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

### 代码及接口设计规范

1. 代码需要符合 PEP 8 要求,请使用 [Black](https://github.com/psf/black) 格式化代码
2. 函数接口的设计 stock_zh_a_hist_sina 结构,其中 **stock** 为金融产品,**zh** 为国家或地区,**a** 为市场或品种,**hist** 为 history 的缩写表示历史数据,**sina** 表示数据源为新浪
3. 接口函数需要增加注释,注释规则请统一为 ![pic_1]()
1. 代码需要符合 **PEP 8** 要求,请使用 [Black](https://github.com/psf/black) 格式化代码
2. 函数接口的设计 **stock_zh_a_hist_sina** 结构,其中 **stock** 为金融产品,**zh** 为国家或地区,**a** 为市场或品种,**hist** 为 history 的缩写表示历史数据,**sina** 表示数据源为新浪
3. 接口函数需要增加注释,注释规则请参考 **stock_zh_a_hist_sina** 接口的源码
4. 需要在接口函数的注释中增加目标网站的地址(不是具体的数接口地址,而是网页的地址)
5. 返回数据格式要求:
1. Pandas 中的 pandas.DataFrame 格式
Expand Down

0 comments on commit ddd01f2

Please sign in to comment.