寻找相关或共同变动的股票

发布于 2024-11-24 08:10:53 字数 209 浏览 4 评论 0原文

我有一张每日收盘股票价格和商品价格(例如黄金、石油等)的表格。我想找到哪些股票与另一种股票或商品走势密切。

我从哪里开始进行这种类型的分析 - 我了解 java、SQL、python、perl 和一点点 R。

如有必要,愿意购买和学习 Matlab 等新工具。

任何指导都将受到高度赞赏。

这不是一个家庭作业问题。

谢谢..

I have a table of daily closing stock prices and commodity prices such as Gold, Oil, etc. I want to find what stocks move closely with another stock or a commodity.

Where do I start to do this type of analysis - I know java, SQL, python, perl, and a little bit of R.

Willing to buy and learn new tools like Matlab if necessary.

Any guidance will be highly appreciated.

This is not a homework question.

Thanks..

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

两相知 2024-12-01 08:10:53

您正在寻找的技术称为协整。在计算两个时间序列的协整时,语言根本不重要,因此请使用您喜欢的任何语言。

我不同意其他回答,认为计算不是问题。能够计算不同时间序列之间潜在的数十亿个协整系数是一个巨大的问题。使用高度优化的库至关重要。不过,这篇关于 R 中协整测试的文章应该可以帮助您入门。

另请访问 quant.stackexchange.com,了解有关量化金融的更多信息。

The technique you are looking for is called cointegration. Language is not important at all when computing cointegration of two time series so use whatever you are comfortable with.

I disagree with other responses that computation is not a problem. It is a huge problem to be able to compute potentially billions of cointegration coefficients between different time series. Using a highly optimized library is critical. However this article on cointegration testing in R should get you started.

Also checkout quant.stackexchange.com for more info on quantitative finance.

伴梦长久 2024-12-01 08:10:53

我从哪里开始进行此类分析

如果我是你,我会从 在 Google 学术搜索中搜索“comovement”一词。并非所有出现的内容都直接相关,但有相当多的内容是相关的。

通过浏览论文并进行更多谷歌搜索,您应该更清楚地了解要学习哪些类型的统计方法。

我同意 Ben Bolker 的观点,即计算工具并不是目前的主要问题。

Where do I start to do this type of analysis

If I were you, I'd start by searching Google Scholar for the word "comovement". Not everything that turns up is directly relevant, but there's quite a lot of stuff that is relevant.

By looking through the papers and googling some more, you should get a clearer picture of what types of statistical methods to learn.

I agree with Ben Bolker that computational tools are not the main issue at this point.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文