feat(selection): 补充策略执行结果查询链路
This commit is contained in:
@@ -6,6 +6,7 @@ from datetime import date
|
||||
from typing import Protocol
|
||||
|
||||
from .models import StockHistory
|
||||
from .runs import SelectionExecutionSource, SelectionUniverseReader
|
||||
|
||||
|
||||
class MarketDataReaderError(RuntimeError):
|
||||
@@ -16,3 +17,11 @@ class MarketDataReader(Protocol):
|
||||
"""Read qfq history sufficient for one historical strategy evaluation."""
|
||||
|
||||
def load_history(self, ts_code: str, target_trade_date: date) -> StockHistory: ...
|
||||
|
||||
|
||||
__all__ = [
|
||||
"MarketDataReader",
|
||||
"MarketDataReaderError",
|
||||
"SelectionExecutionSource",
|
||||
"SelectionUniverseReader",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user