pub struct Day {
pub date: String,
pub code: String,
pub open: f32,
pub high: f32,
pub low: f32,
pub close: f32,
pub amount: f32,
pub vol: f32,
pub preclose: f64,
pub factor: f64,
}
Expand description
注意:成交量的单位为 “手”,而不是股。在通达信和交易所数据里,单位为股。
Fields§
§date: String
§code: String
§open: f32
§high: f32
§low: f32
§close: f32
§amount: f32
§vol: f32
§preclose: f64
§factor: f64
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Day
impl RefUnwindSafe for Day
impl Send for Day
impl Sync for Day
impl Unpin for Day
impl UnwindSafe for Day
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more