Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修正 lc 文档 #11

Closed
zjp-CN opened this issue Oct 14, 2021 · 0 comments
Closed

修正 lc 文档 #11

zjp-CN opened this issue Oct 14, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation rustdx rustdx 库相关

Comments

@zjp-CN
Copy link
Owner

zjp-CN commented Oct 14, 2021

*.day => *.lc

/// 解析 `*.day` 文件中的一条日线数据,即其 32 个字节所代表的所有信息。
///
/// 注意:这个类型只对 `*.day` 文件进行了初步解析,
/// 所以日期 `date` 和股票代码 `code` 都是 `u32` 类型,
/// 如果的确需要这两个字段为字符串类型,考虑使用 [`serde_type::Lc`] 类型。
///
/// [`serde_type::Lc`]: crate::serde_type::Lc

/// 从 `*.day` 文件中获取数据,该文件中,每 32 个字节存储了一根日线数据,
/// 各字节存储数据如下:

@zjp-CN zjp-CN added documentation Improvements or additions to documentation rustdx rustdx 库相关 labels Oct 14, 2021
@zjp-CN zjp-CN closed this as completed in d5ca844 Oct 15, 2021
zjp-CN added a commit that referenced this issue Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation rustdx rustdx 库相关
Projects
None yet
Development

No branches or pull requests

1 participant