modify src dir.
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user