1717from shipane_sdk .jobs .new_stock_purchase import NewStockPurchaseJob
1818from shipane_sdk .jobs .online_quant_following import OnlineQuantFollowingJob
1919from shipane_sdk .jobs .online_quant_sync import OnlineQuantSyncJob
20+ from shipane_sdk .jobs .repo import RepoJob
2021from shipane_sdk .joinquant .client import JoinQuantClient
2122from shipane_sdk .ricequant .client import RiceQuantClient
2223from shipane_sdk .uqer .client import UqerClient
@@ -39,6 +40,7 @@ def __init__(self):
3940
4041 def start (self ):
4142 self .__add_job (self .__create_new_stock_purchase_job ())
43+ self .__add_job (self .__create_repo_job ())
4244 self .__add_job (self .__create_join_quant_following_job ())
4345 self .__add_job (self .__create_rice_quant_following_job ())
4446 self .__add_job (self .__create_uqer_following_job ())
@@ -63,7 +65,13 @@ def __create_new_stock_purchase_job(self):
6365 section = 'NewStocks'
6466 options = self .__build_options (section )
6567 client_aliases = self .__filter_client_aliases (section )
66- return NewStockPurchaseJob (self ._client , client_aliases , '{}FollowingJob' .format (section ), ** options )
68+ return NewStockPurchaseJob (self ._client , client_aliases , '{}Job' .format (section ), ** options )
69+
70+ def __create_repo_job (self ):
71+ section = 'Repo'
72+ options = self .__build_options (section )
73+ client_aliases = self .__filter_client_aliases (section )
74+ return RepoJob (self ._client , client_aliases , '{}Job' .format (section ), ** options )
6775
6876 def __create_join_quant_following_job (self ):
6977 section = 'JoinQuant'
0 commit comments