add stat files.
This commit is contained in:
@ -1,3 +1,13 @@
|
||||
-- 校验使用复权因子计算出的前复权价格,与直接从接口读取的前复权价格的差异
|
||||
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
|
||||
WHERE a.code = b.code and a.time_key = b.time_key
|
||||
|
||||
-- 校验使用复权因子计算出的前复权价格,与直接从接口读取的前复权价格的差异
|
||||
select a.code, a.time_key, a.close, b.qfq_close, a.close - b.qfq_close as diff
|
||||
from stockdb.hs300_qfq_his a, stockdb.hs300_ajust_kline_202410 b
|
||||
WHERE a.code = b.code and a.time_key = b.time_key
|
||||
|
||||
|
||||
-- 统计 year_diff = 10000 的所有记录中, win_rate 在不同区间的分布情况,给出每个区间的 行数,以及占整体的比例
|
||||
WITH filtered_data AS (
|
||||
|
||||
Reference in New Issue
Block a user