modify src dir.

This commit is contained in:
2024-10-23 12:11:11 +08:00
parent a746b323aa
commit 593c6ce419
28 changed files with 4626 additions and 29 deletions

View File

@ -1,3 +1,7 @@
-- 更新 hs_index 表中的code
UPDATE hs_index SET code = CONCAT('SZ.' , code_inner) WHERE exchange_eng LIKE 'Shenzhen%'
UPDATE hs_index SET code = CONCAT('SH.' , code_inner) WHERE exchange_eng LIKE 'Shanghai%'
-- 校验使用复权因子计算出的前复权价格,与直接从接口读取的前复权价格的差异
select a.code, a.time_key, a.close, b.qfq_close, a.close - b.qfq_close as diff
from stockdb.sp500_qfq_his_202410 a, stockdb.sp500_ajust_kline_202410 b