Your ROOT_URL in app.ini is http://192.168.1.7:3000/ but you are visiting http://shqkxh.org:3000/guofu/dolphin-dev/src/commit/94314df941a7c1880efd259877a18c147f651402/dolphindb/project/scripts/pit6.dos You should set ROOT_URL correctly, otherwise the web may not work correctly.
dolphin-dev/dolphindb/project/scripts/pit6.dos

14 lines
678 B

select * from pit_report_period_at_date("is_common_ori", 2022.07.12, [2019.12.31], 0) order by code
/*
source_table = loadTable("dfs://pit_stock_ts", "is_common_adj");
m_nDate = [2021.12.12]
report_period = [2019.12.31]
query_table = table(report_period, m_nDate)
query_table_exp = select * from cj(query_table, select code from source_table where partition(code, 0) group by code map)
// query_table_exp
source_table_part = select source_table.* from ej(source_table, query_table_exp, `code`report_period) where partition(code, 0)
select top 100 * from aj(query_table_exp, source_table_part, `code`report_period`m_nDate, `code`report_period`appear_at_date) order by code
*/