修复季节性清仓执行时间
This commit is contained in:
@@ -2622,9 +2622,12 @@ impl Strategy for OmniMicroCapStrategy {
|
||||
.positions()
|
||||
.keys()
|
||||
.cloned()
|
||||
.map(|symbol| OrderIntent::TargetValue {
|
||||
.map(|symbol| OrderIntent::TimedTargetValue {
|
||||
symbol,
|
||||
target_value: 0.0,
|
||||
style: AlgoOrderStyle::Twap,
|
||||
start_time: Some(self.intraday_execution_start_time()),
|
||||
end_time: Some(self.intraday_execution_start_time()),
|
||||
reason: "seasonal_stop_window".to_string(),
|
||||
})
|
||||
.collect(),
|
||||
|
||||
Reference in New Issue
Block a user