Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:如何获取K线收盘时间

1楼
gerrypan 发表于:2020/8/31 16:29:03

如何获取K线收盘时间

2楼
FireScript 发表于:2020/8/31 16:34:49
 有现成的函数的。CLOSETIME 函数就是的了。

返回交易所的指定时段的收盘时间

用法:CLOSETIME(N),N表示对应市场分类中交易所交易时间设置的节数(自上而下),特设0表示最后一节的节数(即日收盘的节数)
函数返回有效值范围为(000000-235959),此函数返回常数,对于日线及更长周期此函数无效。
例:
中金所  closetime(1)返回值为113000  closetime(2)返回值为151500
夜盘市场北京时区
closetime(1)返回值为023000    closetime(2)返回值为101500
closetime(3)返回值为113000    closetime(4)返回值为150000
夜盘市场 金字塔时区
closetime(1)返回值为063000    closetime(2)返回值为141500
closetime(3)返回值为153000    closetime(4)返回值为190000

所属函数组:常数函数
共2 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.00586 s, 3 queries.