pub struct TimingConfig {
pub entry: TimingAsk,
pub exit_certainty: f64,
pub exit_within: usize,
pub sell_below_p126: f64,
pub min_gain: f64,
}Expand description
Knobs for plan_for.
Fields§
§entry: TimingAsk§exit_certainty: f64Lowest acceptable fill probability for a sell limit.
exit_within: usizeLongest wait for a sell limit, trading days.
sell_below_p126: f64Verdict “sell” when six-month P(up) is below this. Off (0) by
default: walk-forward on 2019+, names with the lowest six-month
P(up) went on to do best (see reports/timing_research.txt), so a
sell verdict from it would have hurt. Raise it only to experiment.
min_gain: f64A sell limit must beat selling now by this much (log) on average.
Trait Implementations§
Source§impl Clone for TimingConfig
impl Clone for TimingConfig
Source§fn clone(&self) -> TimingConfig
fn clone(&self) -> TimingConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 TimingConfig
impl Debug for TimingConfig
Source§impl Default for TimingConfig
impl Default for TimingConfig
impl Copy for TimingConfig
Auto Trait Implementations§
impl Freeze for TimingConfig
impl RefUnwindSafe for TimingConfig
impl Send for TimingConfig
impl Sync for TimingConfig
impl Unpin for TimingConfig
impl UnsafeUnpin for TimingConfig
impl UnwindSafe for TimingConfig
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