区分指数与股票滚动复权口径
This commit is contained in:
@@ -5912,12 +5912,10 @@ impl PlatformExprStrategy {
|
|||||||
"open",
|
"open",
|
||||||
lookback,
|
lookback,
|
||||||
),
|
),
|
||||||
"signal_close" => ctx.data.market_current_numeric_values(
|
"signal_close" => {
|
||||||
day.date,
|
ctx.data
|
||||||
&self.config.signal_symbol,
|
.market_closes_up_to(day.date, &self.config.signal_symbol, lookback)
|
||||||
"close",
|
}
|
||||||
lookback,
|
|
||||||
),
|
|
||||||
"signal_volume" => ctx.data.market_current_numeric_values(
|
"signal_volume" => ctx.data.market_current_numeric_values(
|
||||||
day.date,
|
day.date,
|
||||||
&self.config.signal_symbol,
|
&self.config.signal_symbol,
|
||||||
|
|||||||
Reference in New Issue
Block a user