标签: yahoo-finance
当您设置历史价格的日期范围时,js会使用网址变量period1和period2重定向。例如,对于Time Period: Jul 30, 2015 - Aug 30, 2015,生成的URL如下所示。 period1=1438228800&period2=1440907200
Time Period: Jul 30, 2015 - Aug 30, 2015
period1=1438228800&period2=1440907200
https://ca.finance.yahoo.com/quote/GOOG/history?period1=1438228800&period2=1440907200&interval=1d&filter=history&frequency=1d
任何人都知道如何计算period1和period2?
答案 0 :(得分:0)
Unix timestamp (seconds since January 1, 1970)