pub struct VecEnvConfig {Show 21 fields
pub mu: f64,
pub kappa: f64,
pub theta: f64,
pub sigma_v: f64,
pub rho: f64,
pub initial_price: f64,
pub initial_variance: f64,
pub spread: f64,
pub dt: f64,
pub max_steps: usize,
pub impact_factor: f64,
pub k: f64,
pub a: f64,
pub hawkes_alpha: f64,
pub hawkes_beta: f64,
pub initial_cash: f64,
pub transaction_cost: f64,
pub reward_type: RewardType,
pub inventory_penalty: f64,
pub matcher_dt: Option<f64>,
pub seed: u64,
}Expand description
Parameters for constructing a vectorized environment.
Fields§
§mu: f64§kappa: f64§theta: f64§sigma_v: f64§rho: f64§initial_price: f64§initial_variance: f64§spread: f64§dt: f64§max_steps: usize§impact_factor: f64§k: f64§a: f64§hawkes_alpha: f64§hawkes_beta: f64§initial_cash: f64§transaction_cost: f64§reward_type: RewardType§inventory_penalty: f64§matcher_dt: Option<f64>§seed: u64Trait Implementations§
Source§impl Clone for VecEnvConfig
impl Clone for VecEnvConfig
Source§fn clone(&self) -> VecEnvConfig
fn clone(&self) -> VecEnvConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VecEnvConfig
impl Debug for VecEnvConfig
Auto Trait Implementations§
impl Freeze for VecEnvConfig
impl RefUnwindSafe for VecEnvConfig
impl Send for VecEnvConfig
impl Sync for VecEnvConfig
impl Unpin for VecEnvConfig
impl UnsafeUnpin for VecEnvConfig
impl UnwindSafe for VecEnvConfig
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more