dev 6
This commit is contained in:
@@ -18,7 +18,7 @@ if PROJECT_ROOT not in sys.path:
|
||||
|
||||
from sdk import APIError, Client
|
||||
from strategy.trend.boot import StartTrend
|
||||
|
||||
from strategy.ipo import AutoBuyIpo
|
||||
|
||||
@dataclass(frozen=True, slots=True)
|
||||
class StrategyDefinition:
|
||||
@@ -124,6 +124,9 @@ def main() -> int:
|
||||
configure_logging(config.global_config.qmt_data_dir)
|
||||
wait_for_qmt_api()
|
||||
|
||||
# 自动打新
|
||||
AutoBuyIpo()
|
||||
|
||||
STRATEGIES[config.account_config.strategy].start_strategy()
|
||||
return 0
|
||||
except (OSError, yaml.YAMLError, ValueError, RuntimeError, KeyError) as exc:
|
||||
|
||||
Reference in New Issue
Block a user