zjp-CN
zjp-CN
日期以整体方式校验,不校验单只股票。
| **done** | **pytdx.hq** | **pytdx.parser** | **rustdx::tcp** | |----------|-------------------|--------------------|-----------------| | √ | get_security_bars | GetSecurityBarsCmd | stock::Kline | | | get_index_bar | GetIndexBarsCmd | / | | | get_security_quotes...
为了保持代码通用、可拓展,将 east(东财) 和 official(交易所官方)两个数据源从 bin crate 拆分到(单独的)lib crate,用以支持可能的更多数据源。
*Edit: Since #102 is solved, this PR is not related to it now.*
https://doc.rust-lang.org/reference/type-coercions.html#coercion-types
```rust #![feature(thin_box)] use std::boxed::ThinBox; use std::{mem::size_of, fmt::Debug, rc::Rc, sync::Arc}; type Pod = (usize, u32); fn main() { // 对于大部分指针,其大小可以是 8 或者 16 字节的(基于 64 位)。具体来说 // * 对于 T (隐式具有...
## current Since the suggestion from https://github.com/zjp-CN/nvim-cmp-lsp-rs/issues/4#issuecomment-2041308464 ```lua local compare = require("cmp").config.compare opts.sorting.comparators = { compare.exact, compare.score, comparators.inscope_inherent_import, comparators.sort_by_label_but_underscore_last, } ```  when press `.` without any extra char, `compare.score`...
Currently, `sort_by_kind` is sorting from a fixed list. Given the default kind ordering in this plugin, Method is always prior to Function, then it works fine after typing `.`, but...
```toml [package] name = "xxx" version = "0.1.0" edition = "2021" [dependencies] color-eyre = "0.6.3" ratatui = "0.26" ``` ```rust #![allow(unused)] use ratatui::prelude::*; fn main() { let s = S...