pub struct PriceFeatures {
pub spread: f64,
pub mid_price: f64,
pub book_slope: f64,
}Expand description
Batch results for price-based ML features
Fields§
§spread: f64The bid-ask spread.
mid_price: f64The mid-price.
book_slope: f64The order book slope.
Trait Implementations§
Source§impl Clone for PriceFeatures
impl Clone for PriceFeatures
Source§fn clone(&self) -> PriceFeatures
fn clone(&self) -> PriceFeatures
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PriceFeatures
impl Debug for PriceFeatures
impl Copy for PriceFeatures
Auto Trait Implementations§
impl Freeze for PriceFeatures
impl RefUnwindSafe for PriceFeatures
impl Send for PriceFeatures
impl Sync for PriceFeatures
impl Unpin for PriceFeatures
impl UnwindSafe for PriceFeatures
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