AppSetting.cs 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. namespace SharedKernel;
  2. public sealed class AppSettings
  3. {
  4. public AppSection App { get; init; } = new();
  5. public ConnectionStringsSection ConnectionStrings { get; init; } = new();
  6. public RedisSection Redis { get; init; } = new();
  7. public SmtpSection SMTP { get; init; } = new();
  8. public JwtSection JWT { get; init; } = new();
  9. public ForwardedHeadersSection ForwardedHeaders { get; init; } = new();
  10. public CorsPolicySection CorsPolicy { get; init; } = new();
  11. public YouTubeSection YouTube { get; init; } = new();
  12. public BackgroundJobsSection BackgroundJobs { get; init; } = new();
  13. public EncryptionSection Encryption { get; init; } = new();
  14. public FeaturesSection Features { get; init; } = new();
  15. public StockDataSection StockData { get; init; } = new();
  16. public KRXCoKrSection KRXCoKr { get; init; } = new();
  17. public OpenDartSection OpenDart { get; init; } = new();
  18. public KoreaEximSection KoreaExim { get; init; } = new();
  19. public SeibroSection Seibro { get; init; } = new();
  20. public OAuthSection OAuth { get; init; } = new();
  21. public sealed class AppSection
  22. {
  23. public string Name { get; init; } = string.Empty;
  24. public string Company { get; init; } = string.Empty;
  25. public string BaseURL { get; init; } = string.Empty;
  26. public string ApiURL { get; init; } = string.Empty;
  27. public string FrontURL { get; init; } = string.Empty;
  28. }
  29. public sealed class ConnectionStringsSection
  30. {
  31. public string DefaultConnection { get; init; } = string.Empty;
  32. public int Timeout { get; init; }
  33. }
  34. public class RedisSection
  35. {
  36. public string DefaultConnection { get; init; } = string.Empty;
  37. public string CachePrefix { get; init; } = string.Empty;
  38. public string AuthTicketPrefix { get; init; } = string.Empty;
  39. public string DataProtectionKey { get; init; } = string.Empty;
  40. public TimeSpan DefaultKeyLifetime { get; init; }
  41. }
  42. public class SmtpSection
  43. {
  44. public string Host { get; init; } = default!;
  45. public int Port { get; init; } = 587;
  46. public string? User { get; init; }
  47. public string? Password { get; init; }
  48. public bool UseStartTls { get; init; } = true;
  49. public string FromEmail { get; init; } = default!;
  50. public string FromName { get; init; } = "no-reply";
  51. }
  52. public class JwtSection
  53. {
  54. public string SecretKey { get; init; } = string.Empty;
  55. public string Issuer { get; init; } = string.Empty;
  56. public string Audience { get; init; } = string.Empty;
  57. public int AccessTokenExpiration { get; init; }
  58. public int RefreshTokenExpiration { get; init; }
  59. }
  60. public class ForwardedHeadersSection
  61. {
  62. public int? ForwardLimit { get; init; } = default;
  63. public List<string> KnownProxies { get; init; } = [];
  64. public List<string> KnownNetworks { get; init; } = [];
  65. }
  66. public class CorsPolicySection
  67. {
  68. public string Name { get; init; } = string.Empty;
  69. public long PreflightMaxAgeSeconds { get; init; } = 0;
  70. public List<string> AllowedOrigins { get; init; } = [];
  71. }
  72. public class YouTubeSection
  73. {
  74. public string HubUrl { get; init; } = "https://pubsubhubbub.appspot.com/subscribe";
  75. public string CallbackUrl { get; init; } = string.Empty;
  76. public string HmacSecret { get; init; } = string.Empty;
  77. public int FeedPollingIntervalMinutes { get; init; } = 3;
  78. }
  79. public class BackgroundJobsSection
  80. {
  81. public bool LiveChat { get; init; } = true;
  82. public bool PubSubRenewal { get; init; } = true;
  83. public bool FeedPolling { get; init; } = true;
  84. public bool LiveViewerPoller { get; init; } = true;
  85. public bool ChannelCacheRefresh { get; init; } = true;
  86. public bool YouTubeDailyAggregator { get; init; } = true;
  87. public bool YouTubeStaleDataPurge { get; init; } = true;
  88. /// <summary>결제 자동 대사 배치 (Toss NeedsReconciliation 재확인 — PaymentReconcileService). Features:Channel 게이트와 무관.</summary>
  89. public bool PaymentReconcile { get; init; } = true;
  90. /// <summary>모의투자 체결·스냅샷 배치 (PaperFillService — d4 M2). Features:Channel 게이트와 무관, 기본 false (StockData 적재 가동 후 활성화).</summary>
  91. public bool PaperFill { get; init; } = false;
  92. /// <summary>예측 채점 배치 (PredictionSettlementService — d2 M4). Web.Api 전용, 기본 false (StockData T+1 종가 적재 가동 후 활성화).</summary>
  93. public bool PredictionSettlement { get; init; } = false;
  94. /// <summary>장전 브리핑 자동 발행 배치 (DailyBriefingPublisher — d2 M3, 07:30 KST). Web.Api 전용, 기본 false (StockData 지수·공시 적재 가동 후 활성화).</summary>
  95. public bool DailyBriefing { get; init; } = false;
  96. }
  97. /// <summary>
  98. /// 기능 단위 활성화 플래그. 코드/스키마는 보존하고 노출만 차단하는 soft-off 스위치.
  99. /// Channel=false 시 채널/스튜디오/YouTube 관련 API 와 백그라운드 서비스 전체 비활성 (기본 false).
  100. /// </summary>
  101. public class FeaturesSection
  102. {
  103. public bool Channel { get; init; } = false;
  104. }
  105. /// <summary>
  106. /// 회원 PII(주소/연락처 등) 필드 암호화에 사용하는 AES-GCM 키 묶음.
  107. /// Keys 딕셔너리는 KeyVersion -> Base64(32바이트) 매핑. CurrentKeyVersion 은 신규 암호화에 사용할 버전.
  108. /// 키 회전 시 Keys 에 새 버전 추가 + CurrentKeyVersion 갱신. 복호화는 row 의 KeyVersion 컬럼으로 매핑하여 과거 키 사용.
  109. /// </summary>
  110. public class EncryptionSection
  111. {
  112. public int CurrentKeyVersion { get; init; } = 1;
  113. public Dictionary<string, string> Keys { get; init; } = new();
  114. }
  115. /// <summary>
  116. /// 소셜 로그인 OAuth 설정 (개미투자 D5 — Naver/Kakao). 키는 각 개발자센터 발급 후 채움 (빈 값이면 해당 provider 로그인 비활성).
  117. /// Google 은 DB Config(External.GoogleClientId) 현행 유지 — 여기 포함하지 않는다.
  118. /// </summary>
  119. public class OAuthSection
  120. {
  121. public OAuthProviderSection Naver { get; init; } = new();
  122. public OAuthProviderSection Kakao { get; init; } = new();
  123. public class OAuthProviderSection
  124. {
  125. /// <summary>네이버: Client ID / 카카오: REST API 키</summary>
  126. public string ClientId { get; init; } = string.Empty;
  127. /// <summary>네이버: Client Secret(필수) / 카카오: 콘솔에서 활성화한 경우만 (빈 값이면 미전송)</summary>
  128. public string ClientSecret { get; init; } = string.Empty;
  129. /// <summary>기본 redirect URI — 요청에서 미전달 시 사용. 개발자센터에 등록한 값과 일치해야 함</summary>
  130. public string RedirectUri { get; init; } = string.Empty;
  131. /// <summary>
  132. /// 카카오 Admin 키 — "연결 끊기(unlink)" webhook 요청의 Authorization 헤더 대조에 사용.
  133. /// 카카오 개발자콘솔의 앱 Admin 키를 그대로 넣는다 (빈 값이면 disconnect 검증 비활성 → 항상 거부).
  134. /// 네이버는 사용하지 않음.
  135. /// </summary>
  136. public string AdminKey { get; init; } = string.Empty;
  137. }
  138. }
  139. /// <summary>
  140. /// 주식 데이터 수집 배치 설정 (개미투자 D1). 플래그 기본 false — API 키 발급/운영 결정 후 활성화.
  141. /// Features:Channel 게이트와 무관하게 별도 등록 (AddStockDataServices).
  142. /// </summary>
  143. public class StockDataSection
  144. {
  145. /// <summary>종목 마스터 동기화 배치 (StockMasterSyncService) 활성화</summary>
  146. public bool MasterSync { get; init; } = false;
  147. /// <summary>T+1 일별 시세 수집 배치 (DailyPriceSyncService) 활성화</summary>
  148. public bool DailyPriceSync { get; init; } = false;
  149. /// <summary>마스터 동기화 실행 시각 (KST, "HH:mm")</summary>
  150. public string MasterSyncTime { get; init; } = "07:30";
  151. /// <summary>일별 시세 수집 실행 시각 (KST, "HH:mm") — 금융위 API 는 영업일+1 13시 이후 반영</summary>
  152. public string DailyPriceSyncTime { get; init; } = "13:10";
  153. public DataGoKrSection DataGoKr { get; init; } = new();
  154. /// <summary>공공데이터포털 (data.go.kr) 금융위 API</summary>
  155. public class DataGoKrSection
  156. {
  157. /// <summary>서비스 키 (Decoding 원본 키 — 요청 시 URL 인코딩). 비어 있으면 배치는 로그만 남기고 skip.</summary>
  158. public string ServiceKey { get; init; } = string.Empty;
  159. public string BaseUrl { get; init; } = "https://apis.data.go.kr";
  160. /// <summary>페이지당 행 수 (numOfRows)</summary>
  161. public int PageSize { get; init; } = 1000;
  162. }
  163. }
  164. /// <summary>
  165. /// KRX 한국거래소 OpenAPI (data-dbg.krx.co.kr) 지수 데이터 수집 설정 (개미투자 D1).
  166. /// data.go.kr(StockDataSection)과는 별개 시스템 — 별도 API 키 + AUTH_KEY 헤더 인증.
  167. /// IndexSync 기본 false — API 키 발급/운영 결정 후 활성화. Features:Channel 게이트와 무관하게 AddStockDataServices 에서 등록.
  168. /// </summary>
  169. public class KRXCoKrSection
  170. {
  171. /// <summary>KRX OpenAPI 인증 키 (AUTH_KEY 헤더). 비어 있으면 배치는 로그만 남기고 skip. tracked 파일엔 빈 값만.</summary>
  172. public string ApiKey { get; init; } = string.Empty;
  173. public string BaseUrl { get; init; } = "https://data-dbg.krx.co.kr";
  174. /// <summary>지수 일별시세 수집 배치 (IndexPriceSyncService) 활성화 — KOSPI/KOSDAQ/KRX + 파생상품지수(idx/drvprod_dd_trd) 4개 엔드포인트 한 배치</summary>
  175. public bool IndexSync { get; init; } = false;
  176. /// <summary>지수 수집 실행 시각 (KST, "HH:mm") — KRX 지수는 장 마감(15:30) 이후 확정, 여유 두고 18:30</summary>
  177. public string IndexSyncTime { get; init; } = "18:30";
  178. /// <summary>채권지수 일별시세 수집 배치 (BondIndexPriceSyncService, idx/bon_dd_trd) 활성화 — 응답 shape 이 지수와 달라 별도 배치</summary>
  179. public bool BondIndexSync { get; init; } = false;
  180. /// <summary>채권지수 수집 실행 시각 (KST, "HH:mm") — 지수 수집(18:30) 뒤 여유 두고 18:35</summary>
  181. public string BondIndexSyncTime { get; init; } = "18:35";
  182. /// <summary>주식(종목) 마스터 + 일별매매 수집 배치 (KrxStockMasterSyncService/KrxDailyPriceSyncService) 활성화 — D1 KRX 주식 데이터 수집</summary>
  183. public bool StockSync { get; init; } = false;
  184. /// <summary>종목 마스터 동기화 실행 시각 (KST, "HH:mm") — 장 시작 전 07:40</summary>
  185. public string MasterSyncTime { get; init; } = "07:40";
  186. /// <summary>주식 일별매매 수집 실행 시각 (KST, "HH:mm") — KRX 일별매매는 장 마감(15:30) 이후 확정, 여유 두고 18:10</summary>
  187. public string StockSyncTime { get; init; } = "18:10";
  188. /// <summary>증권상품(ETF/ETN/ELW) 일별매매 수집 배치 (KrxEtpSyncService) 활성화 — KRX 증권상품(ETF/ETN/ELW) 수집</summary>
  189. public bool EtpSync { get; init; } = false;
  190. /// <summary>증권상품(ETF/ETN/ELW) 일별매매 수집 실행 시각 (KST, "HH:mm") — 장 마감(15:30) 이후 확정, 주식 수집(18:10) 뒤 여유 두고 18:20</summary>
  191. public string EtpSyncTime { get; init; } = "18:20";
  192. /// <summary>신주인수권증권/증서 일별매매 수집 배치 (KrxWarrantSyncService) 활성화 — sw_bydd_trd(증권)+sr_bydd_trd(증서)</summary>
  193. public bool WarrantSync { get; init; } = false;
  194. /// <summary>신주인수권증권/증서 일별매매 수집 실행 시각 (KST, "HH:mm") — 증권상품 수집(18:20) 뒤 여유 두고 18:25</summary>
  195. public string WarrantSyncTime { get; init; } = "18:25";
  196. /// <summary>채권(국채전문유통/일반채권/소액채권) 일별매매 수집 배치 (KrxBondSyncService) 활성화 — kts/bnd/smb_bydd_trd 3개 엔드포인트</summary>
  197. public bool BondSync { get; init; } = false;
  198. /// <summary>채권 일별매매 수집 실행 시각 (KST, "HH:mm") — 신주인수권 수집(18:25) 뒤 여유 두고 18:40</summary>
  199. public string BondSyncTime { get; init; } = "18:40";
  200. /// <summary>파생상품(선물 3 + 옵션 3) 일별매매 수집 배치 (KrxDerivativeSyncService) 활성화 — fut/eqsfu/eqkfu + opt/eqsop/eqkop 6개 엔드포인트</summary>
  201. public bool DerivativeSync { get; init; } = false;
  202. /// <summary>파생상품 일별매매 수집 실행 시각 (KST, "HH:mm") — 채권 수집(18:40, 3ep×백필)이 5분 슬롯을 넘을 수 있어 여유 두고 19:00</summary>
  203. public string DerivativeSyncTime { get; init; } = "19:00";
  204. /// <summary>일반상품(석유/금/배출권) 일별매매 수집 배치 (KrxCommoditySyncService) 활성화 — gen/oil+gold+ets_bydd_trd 3개 엔드포인트</summary>
  205. public bool CommoditySync { get; init; } = false;
  206. /// <summary>일반상품 일별매매 수집 실행 시각 (KST, "HH:mm") — 파생상품 수집(19:00, 6ep×백필)이 무거워 여유 두고 19:15</summary>
  207. public string CommoditySyncTime { get; init; } = "19:15";
  208. /// <summary>ESG 데이터(ESG 증권상품 + ESG 지수 + 사회책임투자채권) 수집 배치 (KrxEsgSyncService) 활성화 — esg/esg_etp_info+esg_index_info+sri_bond_info 3개 엔드포인트</summary>
  209. public bool EsgSync { get; init; } = false;
  210. /// <summary>ESG 데이터 수집 실행 시각 (KST, "HH:mm") — 일반상품 수집(19:15) 뒤 여유 두고 19:30</summary>
  211. public string EsgSyncTime { get; init; } = "19:30";
  212. /// <summary>백필 대상 기간(연) — endDate 로부터 과거로 이만큼 채운다 (기본 3년). KrxBackfill 공용 헬퍼가 사용</summary>
  213. public int BackfillYears { get; init; } = 3;
  214. /// <summary>1회 실행당 최대 백필 fetch 수 — quota 보호용 상한 (기본 60). 여러 날에 걸쳐 나눠 채운다</summary>
  215. public int BackfillMaxPerRun { get; init; } = 60;
  216. }
  217. /// <summary>
  218. /// OpenDART(전자공시, opendart.fss.or.kr) 공시 수집 설정 (개미투자 D1). KRX/data.go.kr 과는 별개 시스템 —
  219. /// 인증은 query param crtfc_key (헤더 아님). DisclosureSync 기본 false — API 키 발급/운영 결정 후 활성화.
  220. /// Features:Channel 게이트와 무관하게 AddStockDataServices 에서 등록. tracked 파일엔 ApiKey 빈 값만.
  221. /// </summary>
  222. public class OpenDartSection
  223. {
  224. /// <summary>OpenDART 인증 키 (crtfc_key query param). 비어 있으면 배치는 로그만 남기고 skip.</summary>
  225. public string ApiKey { get; init; } = string.Empty;
  226. public string BaseUrl { get; init; } = "https://opendart.fss.or.kr";
  227. /// <summary>공시 목록 수집 배치 (DisclosureSyncService) 활성화</summary>
  228. public bool DisclosureSync { get; init; } = false;
  229. /// <summary>공시 수집 실행 시각 (KST, "HH:mm") — 전영업일 공시 반영 여유 두고 08:30</summary>
  230. public string DisclosureSyncTime { get; init; } = "08:30";
  231. /// <summary>백필 대상 기간(일) — today 로부터 과거로 이만큼 접수일 범위를 훑는다 (기본 30일 — 공시는 건수가 많아 최근 30일 권장)</summary>
  232. public int BackfillDays { get; init; } = 30;
  233. }
  234. /// <summary>
  235. /// 한국수출입은행(koreaexim.go.kr) OpenAPI 거시·환율 수집 설정 (개미투자 D1). KRX/data.go.kr/OpenDART 와 별개 시스템 —
  236. /// 인증은 query param authkey, 데이터 종류별(AP01 환율/AP02 대출금리/AP03 국제금리)로 별도 키가 발급된다.
  237. /// MacroSync 기본 false — API 키 발급/운영 결정 후 활성화. Features:Channel 게이트와 무관하게 AddStockDataServices 에서 등록.
  238. /// tracked 파일엔 각 키 빈 값만 (실키는 gitignore 된 appsettings.Development.json / Jenkins Secret File).
  239. /// 주의(koreaexim quirk): 주말/공휴일과 영업일 오전 ~11시 이전엔 빈 배열([])을 반환하고, 키 오류·만료 시 result 코드 2~4 또는 빈 응답이 온다 → 파서가 안전하게 0건 처리.
  240. /// </summary>
  241. public class KoreaEximSection
  242. {
  243. /// <summary>현재환율(AP01) 인증 키 (authkey query param). 비어 있으면 환율 수집 skip.</summary>
  244. public string ExchangeKey { get; init; } = string.Empty;
  245. /// <summary>대출금리(AP02) 인증 키. 비어 있으면 대출금리 수집 skip.</summary>
  246. public string LoanRateKey { get; init; } = string.Empty;
  247. /// <summary>국제금리(AP03) 인증 키. 비어 있으면 국제금리 수집 skip.</summary>
  248. public string IntlRateKey { get; init; } = string.Empty;
  249. public string BaseUrl { get; init; } = "https://www.koreaexim.go.kr/site/program/financial/exchangeJSON";
  250. /// <summary>거시·환율 수집 배치 (MacroDataSyncService) 활성화</summary>
  251. public bool MacroSync { get; init; } = false;
  252. /// <summary>수집 실행 시각 (KST, "HH:mm") — koreaexim 은 영업일 ~11시 이후 반영되므로 여유 두고 11:30</summary>
  253. public string MacroSyncTime { get; init; } = "11:30";
  254. /// <summary>백필 대상 기간(일) — today 로부터 과거로 이만큼 훑으며 미적재 영업일을 채운다 (기본 30일)</summary>
  255. public int MacroBackfillDays { get; init; } = 30;
  256. /// <summary>1회 실행당 최대 백필 fetch 수 — quota 보호용 상한 (기본 60). 여러 날에 걸쳐 나눠 채운다</summary>
  257. public int BackfillMaxPerRun { get; init; } = 60;
  258. }
  259. /// <summary>
  260. /// SEIBro OpenAPI(한국예탁결제원 seibro.or.kr) 수집 설정 (개미투자 D1). KRX/data.go.kr/OpenDART 와 별개 시스템 —
  261. /// 인증은 query param key, 응답은 XML(value 속성). 일일 호출 한도는 카테고리 단위(기업/주식/채권/파생/외화)로 관리되며
  262. /// 배치 예산(*Budget)은 실한도의 80% 헤드룸 (docs/SEIBro/readme.md §1). 모든 *Sync 플래그 기본 false —
  263. /// API 키 발급/운영 결정 후 활성화. tracked 파일엔 ApiKey 빈 값만 (실키는 gitignore 된 appsettings.Development.json / Jenkins Secret File).
  264. /// </summary>
  265. public class SeibroSection
  266. {
  267. /// <summary>SEIBro OpenAPI 인증 키 (key query param). 비어 있으면 배치는 로그만 남기고 skip.</summary>
  268. public string ApiKey { get; init; } = string.Empty;
  269. /// <summary>SEIBro OpenPlatform 엔드포인트 — https 연결 불가 시 SeibroHttp 가 http 로 1회 fallback</summary>
  270. public string BaseUrl { get; init; } = "https://seibro.or.kr/OpenPlatform/callOpenAPI.jsp";
  271. /// <summary>Wave 0 — 발행회사번호(ISSUCO_CUSTNO) 조인키 부트스트랩 + 종목 보강 배치 (SeibroIssuerSyncService)</summary>
  272. public bool IssuerSync { get; init; } = false;
  273. /// <summary>Wave 1 — 배당·권리 수집 배치</summary>
  274. public bool DividendSync { get; init; } = false;
  275. /// <summary>Wave 2 — 수급 이벤트(대차·보호예수·증감·유통변경·비상장) 수집 배치</summary>
  276. public bool SupplySync { get; init; } = false;
  277. /// <summary>Wave 3 — 기업행위(총회·상호변경·대금·단주·CB/BW 행사) 수집 배치</summary>
  278. public bool CorpActionSync { get; init; } = false;
  279. /// <summary>Wave 4 — 채권·단기금융 수집 배치</summary>
  280. public bool BondSync { get; init; } = false;
  281. /// <summary>Wave 5 — 파생결합증권(ELS/DLS) 수집 배치</summary>
  282. public bool DerivSync { get; init; } = false;
  283. /// <summary>Wave 6 — 외화증권 수집 배치</summary>
  284. public bool ForeignSync { get; init; } = false;
  285. /// <summary>호출 사이 지연(ms) — quota·서버 보호</summary>
  286. public int DelayMs { get; init; } = 200;
  287. /// <summary>백필 대상 기간(연) — 날짜 스윕 배치가 과거로 이만큼 채운다</summary>
  288. public int BackfillYears { get; init; } = 3;
  289. /// <summary>기업 정보 카테고리 일일 예산 (실한도 50,000 의 80%)</summary>
  290. public int CorpBudget { get; init; } = 40000;
  291. /// <summary>주식 카테고리 일일 예산 (실한도 10,000 의 80%) — getXrcStk*(CB/BW 행사)도 주식 소속</summary>
  292. public int StockBudget { get; init; } = 8000;
  293. /// <summary>채권 카테고리 일일 예산 (실한도 10,000 의 80%)</summary>
  294. public int BondBudget { get; init; } = 8000;
  295. /// <summary>파생결합증권 카테고리 일일 예산 (실한도 10,000 의 80%)</summary>
  296. public int DerivBudget { get; init; } = 8000;
  297. /// <summary>외화증권 카테고리 일일 예산 (실한도 20,000 의 80%)</summary>
  298. public int ForeignBudget { get; init; } = 15000;
  299. /// <summary>대차거래 3년 백필 대상 종목 수 (시가총액 상위 N) — 당일 수집은 전 상장종목</summary>
  300. public int LendingBackfillTopN { get; init; } = 300;
  301. /// <summary>외화증권 국가별 수집 대상 국가코드 (Wave 6)</summary>
  302. public string[] ForeignNations { get; init; } = ["US", "JP", "HK", "CN", "E1"];
  303. /// <summary>외화증권 종목별 수집 seed ISIN (기본 빈 = 국가별만 수집)</summary>
  304. public string[] ForeignIsins { get; init; } = [];
  305. /// <summary>발행회사번호 부트스트랩 실행 시각 (KST, "HH:mm") — SEIBro 는 T+1 새벽 갱신 추정, KRX(18시대)와 분리해 06:30</summary>
  306. public string IssuerSyncTime { get; init; } = "06:30";
  307. /// <summary>배당·권리 수집 실행 시각 (KST, "HH:mm") — IssuerSync(06:30) 다음 슬롯 06:40 (wave 당 10분 간격 스태거)</summary>
  308. public string DividendSyncTime { get; init; } = "06:40";
  309. }
  310. }