TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why isn't all stock trading done by algorithm?

59 点作者 Peradine超过 9 年前
I can't understand how a human, even with heaps of intelligence and education, is better at predicting which stocks will go up/down than an algorithm that can look at all the data in the entire market. What skill do stock traders use that can't be replaced by computation?

32 条评论

greenpizza13超过 9 年前
Computers trade most effectively with technical indicators. These are things like price history, volume, etc. These trades are very effective in the short term, where trades can happen in terms of seconds or milliseconds. This is where computers excel and humans fall short. This sort of trading is based mostly on breadth. If you look up the fundamental law of active portfolio management, you&#x27;ll see that breadth is less effective (exponentially less so) than skill is.<p>In the case of the long term, however, trading is done with fundamental indicators. These things can be more or less intangible and have to do with market events, people, and other indicators of company value that are hard to translate into math. Using fundamental indicators for portfolio management is what humans are better at, and these pay off in the long term (see Warren Buffet). These trades are done with skill, which, as I stated earlier, is exponentially more effective at creating gains than breadth.<p>In short, it takes a huge amount of breath to get the gains required by a relatively small amount of skill. Computers are better by far at breadth, while humans are better (for now) at skill. This, I think, is why humans still trade.
评论 #10536928 未加载
spott超过 9 年前
Information not in the market.<p>Stock traders trade on rumor, fact and everything in between. They (can) look at who the company is run by, and how much they trust him, and look at the people in upper management. They can look at and understand news.<p>Part of the difficulty of the stock market is that it isn&#x27;t a closed system: people make decisions to sell stocks based on the fact that they are poor this month. Until computers can understand and process all the external data, people will need to be in the trading loop.<p>The big exception to this is the trading the noise: high frequency traders trade against each other, closing the spread in bid&#x2F;ask prices. However, they are essentially trading against other computers at that timescale, which makes them pretty amenable to algorithms.
评论 #10534566 未加载
hsk超过 9 年前
You&#x27;re overestimating the effectiveness of computers in taking in data and finding patterns. If you throw data naively at an algorithm, you&#x27;ll get garbage. It&#x27;s especially difficult to make sense out of trading data because of the sheer size and percentage of noise.<p>For any given trading strategy, a ton of thought, testing, and domain knowledge goes into creating the algorithm. It is not a black box that writes itself.<p>That said, computers are far more effective at certain tasks, especially latency sensitive simple calculations, just as calculators are far better at doing arithmetic.
评论 #10534146 未加载
chollida1超过 9 年前
Well the truth is that for some firms it is for about 99.9% of all trades.<p>Renaissance Technologies founder Jim Simmons is famous for saying they didn&#x27;t override the algorithm.<p>In practice most HFT firms do a mix of both. The algos will do the vast bulk of the trading but you have human traders monitoring algos to do clean ups for cases where the algo gets &quot;stuck&quot;. What defines &quot;stuck&quot; really depends on the sophistication of the algo and the firm itself.<p>Some algo&#x27;s, such as internalizers&#x27;s for crossing bought flow are so simple that there probably doesn&#x27;t need to be much over site at all.<p>Market making is very similar, with the exception of a flash crash where they might pull out, market making algos should just run themselves.
SEJeff超过 9 年前
Well for starters, someone has to write the algorithms. Not everyone has vast amounts of computing power to find the right inputs for the right algorithms or genius level quants to write the math which coders turn into strategies. There are so many small niches in the market that a human can still make a reasonable living if they find an area not traded by others aka &quot;making a market&quot;. Now when it comes to competing with the machines, you pretty much nailed it.<p>Source: I work in electronic trading and have the past ~7+ years.
评论 #10534267 未加载
mjwhansen超过 9 年前
There are a lot of different schools of thought about approaching the stock market. One of them is the &quot;chart&quot; approach, where you (or an algorithm) try to discern the future movements of a company&#x27;s stock price based on the past performance. Sometimes this works. Mostly, though, it doesn&#x27;t.<p>There&#x27;s also a big difference between &quot;trading&quot; and &quot;investing.&quot; Trading is what you&#x27;ve described -- buying shares in the morning and hoping they&#x27;ll go up in the afternoon so you can sell them later. Investing is buying shares of the company to become a part owner and hold them for years or decades, not days.<p>If you looked at NFLX&#x27;s chart in 2012, you could &quot;discern&quot; that the share price would continue to hover around that price, maybe go up a little, maybe go down a little. And you could have bought it in September 2012 for $8 a share and sold for a nice $1 profit in October 2012 for $9 a share (split adjusted). But what the chart wouldn&#x27;t have told you -- and would never have been able to tell you -- is that it would skyrocket in 2013 and up to its current split-adjusted price of $110 a share. The thing is, the chart never would have told you about this. And even a &quot;pure&quot; numerical analysis like could be done by a computer -- P&#x2F;E ratios, cash flows, etc -- would not have predicted that growth. You could do DCFs all day every day in 2012 and never predict Netflix&#x27;s rise. There are a lot of things that go into a company&#x27;s rise that aren&#x27;t numerical, like the quality of management, market moat, market growth, etc. And, of course, you had to buy it, and hold it for years, in order to see that return.<p>(In the interests of full disclosure, I should probably note that I&#x27;m a bit biased in this. I work for The Motley Fool, which advocates for long-term buy and hold investing, and produce a podcast for growth investors called Rule Breaker Investing.)
评论 #10537380 未加载
评论 #10568174 未加载
leroy_masochist超过 9 年前
Former investment banker here. This is a question I had when I hit the desk, and it&#x27;s an important question.<p>The short answer to your question is: because most of the volume traded on exchanges is large blocks of stock being bought and sold by institutional investors, and you need humans to make these deals happen.<p>Longer explanation as follows:<p>On the trading floor [0], you have two groups of people: the sales team and the traders.<p>The sales team gets paid when they make markets, i.e., connect buyers and sellers. Specifically, the financial institution takes a fee that&#x27;s a very small % of the overall transaction volume, and some of that goes into the sales team&#x27;s bonus pool. The more stock trades flow through the firm (specifically, their business unit), the more they get paid.<p>The traders, on the other hand, gets paid to do two things, which are really the same thing: a) not put too much of the firm&#x27;s capital at risk and b) set the firm up to make money by buying securities low and selling them high. Every trader has a &quot;P&amp;L&quot; (profit &amp; loss) number, which is the total amount of money they&#x27;ve made or lost for the firm since the start of the fiscal year. They get paid a bonus based on this number. They tend to know exactly what their number is at any given time.<p>So, there is actually a lot of tension on the trading floor between the sales team and the traders, because the sales team wants a lot of volume to go through their business unit, and any given trader wants to maximize her P&amp;L.<p>Real world example might be: the sales dude gets a call from a hedge fund saying, &quot;we want to sell $100mm of our shares in Alphabet at $720&quot;. He then shouts over to the trader (who sits close to him) to tell her about the call and she thinks for a couple seconds [1] and then says, &quot;you need to make a market for 80mm of those shares at that price, I&#x27;m only taking 20mm.&quot;<p>In other words, the trader is saying that she&#x27;ll only tie up $20mm of the firm&#x27;s capital on this particular trade [2]. The sales person might come back and say, &quot;c&#x27;mon, they took that $50mm of Microsoft stock you were trying to get rid of last quarter, we as a firm owe them a favor&quot; to which the trader might respond, &quot;OK, we&#x27;ll take $30mm tops&quot;. So then the sales person will get on the phone and start calling everyone (other mutual &#x2F; hedge funds, pension funds, etc) who might be interested in buying Alphabet at $720. Maybe the sales person makes it happen; maybe they don&#x27;t. In any case, they need to figure out whether they can get 70 million dollars worth Alphabet stock pre-sold to other people in the market at $720 before they get back to the hedge fund trying to sell it with a response as to whether they can make the trade.<p>All of this involves MASSIVE HUMAN FACTORS. I&#x27;m sure we will one day be able to train AI to work through various constructs of &quot;we owe them a favor&quot; but right now you still need humans to get big trades like this done. And again, big trades like this constitute the majority of the overall volume in the market. So, that&#x27;s why trades don&#x27;t run entirely on algorithms...yet.<p>[0] I was in banking, not S&amp;T, but have a decent understanding of how this works.<p>[1] Being able to make decisions of this magnitude in a couple of seconds (and have them be good ones) is one of the two skills you need to have as a trader; the other one is not letting the outcome of the last trade (good or bad) affect your thinking on the next trade.<p>[2] There is potential for both upside and downside in a decision like this; if the stock appreciates, the firm can profit by selling the stock at a higher price than it paid, but the reverse is also true. This is also an example of why &quot;proprietary trading&quot; is such a blurry line. In order to make markets for big trades, firms usually have to put their own capital at risk, even for a few minutes. At what point are they trading for their own profit vs. temporarily assuming risk in order to broker a deal between two counterparties? Go read Matt Levine&#x27;s archived columns at Bloomberg if you find stuff like this interesting.
评论 #10534423 未加载
评论 #10534535 未加载
评论 #10534582 未加载
评论 #10534373 未加载
anthony_barker超过 9 年前
What is an algorithm in your definition?<p>If it includes where and how to place the trades (a smart order router) I would say 99% of trades are managed by an Algo. Also there are the &quot;dumb&quot; VWAP, POV, TWAP algos which represent the bulk of &quot;smart&quot; buyside money as internally most firms use vwap as benchmark.<p>The bulk of retail orders in the US are on the other side of an algo from citadel, knight or citi. And often buying 100 shares of MSFT at market only really needs a decent SOR to provide BestEx.<p>Block trading still often gets fed to VWAP algos unless the stock is illiquid.<p>Finally the most interesting execution algos (implementation shortfall algos) are hard to explain and only statistically outperform.<p>If you are talking about actual investing - the first question is which asset class in which to park your money. If you can get an algo to do that (like Renaissance) you will be rich.
brohee超过 9 年前
Because ultimately, stock prices move not based on &quot;the market&quot; but on things happening in the real world?<p>How does an algorithm interpret e.g. an Apple Keynote? By the time Twitter sentiment analysis (if such thing is really useful) gives results, an human trader already took a position...
评论 #10534837 未加载
zrail超过 9 年前
Why do I need an algorithm to find a good business, buy shares, and sit on them forever?
Mikeb85超过 9 年前
There are limits to algorithms. Stock prices are affected by human behaviour, which can&#x27;t always be predicted.<p>Not to mention the various macro variables, like wars, weather, crime, etc... Plus, what time frame should the algorithms trade on? They&#x27;re very good for predicting the very short term, I haven&#x27;t seen much evidence that they&#x27;re good for predicting longer time spans.<p>While algos eat up arbitrage and electronic brokers replace human ones, humans are still very good at other forms of trading... Not to mention, a large part of market activity isn&#x27;t even trading - it&#x27;s long term investing and collecting dividends.
jackgavigan超过 9 年前
It&#x27;s impossible to create an algorithm that encompasses all the factors that contribute to a company&#x27;s stock price (or, perhaps more accurately, all the factors that a given investor <i>believes</i> will affect the stock price). There&#x27;s also an implementation gap between the model a stock analyst can create in Excel and its implementation as an algorithm. The former is within the reach of far more people than the latter.<p>Finally, don&#x27;t forget that somebody has to design and write the algorithms.
chad_strategic超过 9 年前
This is a pretty good question... Not sure if it will be solved here.<p>I used to be a value investor around 2000-2008. A value investor would be something like Buffet or Peter Lynch. However I did make a lot money in Sept. 08 because I determined the market was over valued.<p>What I didn&#x27;t forsee, was how much the dollars the Federal reserve would print and inflate the economy.<p>Regardless, after that I built my own algorithm, because I no longer believe in the structure of the market. I would rater trust numbers. Meaning there are to many analyst pumping stocks, federal reserve, insider trading, spoofing trades, ETFs, deratives, and financial warfare it&#x27;s hard to make a true value investment. Yes, I have read the buffet &#x2F; Grahm books, but those are over ~60 old.<p>I think it is Virtu (electronic trading &#x2F; hedge fund) that hasn&#x27;t had a day where they lost money since early 2009? I know Goldman and JP Morgan 90% of the time trade every day for a profit. So a lot of the market is already trading electronically. I think zerohedge.com has estimated the 70% of the market trades on electronically and that article was few years ago.<p>It&#x27;s funny, because I have devised methods using social media &#x2F; programming to manipulate the price of stocks. If I can think of ways to do that I&#x27;m sure sure Wall St. already is doing it.<p>Anyways here my algorithm it tracks over 500 stocks: <a href="http:&#x2F;&#x2F;www.strategic-options.com&#x2F;trade&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.strategic-options.com&#x2F;trade&#x2F;</a>
评论 #10534444 未加载
dragontamer超过 9 年前
Skill? I&#x27;m putting up trades as an investment. My money can&#x27;t just sit around in a bank account forever, it needs to be invested to make actual gains.<p>All the hedge-fund managers that claim to have algorithmic trading have extremely high expense ratios. So its cheaper if I made trades myself.<p>I mean, its only $7 to execute a trade off of Scottrade or E-Trade. While buying a mutual fund with algorithmic trading will cost you like 50 to 200 basis points per year.<p>Yeah, its cheaper to trade in the raw or to just buy SPY or Vanguard funds (which are passively invested without algorithms)
simo7超过 9 年前
The amount of trading done by machines decreases as your investing timeframe increases.<p>So at the extreme (high frequency trading), all trading is indeed done by machines.
lujim超过 9 年前
In addition to an algorithm not having all available information on the market there is also the fact that any niche or inefficiency in the market can be duplicated by others until it is negated.<p>If you discovered that the market always goes up on Tuesday and drops on Wednesday that only works until everyone else discovers the same thing and starts selling on Tuesday and buying on Wednesday.
oaktowner超过 9 年前
Most stock brokerages spend lots of times gathering data from the companies themselves -- the management group, the customers, industry analysts, etc. They are not making investment (BUY&#x2F;HOLD&#x2F;SELL) recommendations based on the past fluctuations of the market, rather on their &quot;expert&quot; appraisal of the company&#x27;s worth versus its current stock price.
blazespin超过 9 年前
You mean the computers that can&#x27;t even understand the sentence &quot;We saw grand canyon flying to chicago.&quot;
holri超过 9 年前
I recommend to read Warren Buffet or his teacher Benjamin Graham. Buffet uses a computer, but only for Bridge playing.
tmaly超过 9 年前
market conditions are always changing as are regulations. In 2008, they implemented an emergency short sale rule that banned short selling for a select set of stocks. An algorithm would not know what that means, humans have to step in to ensure stocks are not shorted during these times.
评论 #10533971 未加载
danmaz74超过 9 年前
Fortunately, not all investments are based purely on technical analysis for short run gains.
评论 #10534303 未加载
oscarfr超过 9 年前
The simple reason is that people make money by trading stocks. And they make enough to keep doing it instead of doing something else.<p>It&#x27;s simple economics. If they wouldn&#x27;t be able to make money they probably wouldn&#x27;t trade.
评论 #10534272 未加载
anpk超过 9 年前
I&#x27;ve been trying to find patterns (<a href="http:&#x2F;&#x2F;newsp.in" rel="nofollow">http:&#x2F;&#x2F;newsp.in</a>). I dont believe its an exact science yet, but its always fun to try.
artmageddon超过 9 年前
How would an algorithm react to &#x2F; speculate on the most recent news of, say, the VW pollution-cheating fiasco? What about embargoes or war breaking out between certain countries?
评论 #10534090 未加载
gorbachev超过 9 年前
Because algorithms can&#x27;t wine and dine potential investors to convince them they&#x27;re the best in the business for picking stocks.
评论 #10536738 未加载
smrtinsert超过 9 年前
They&#x27;re not. Retail trading is a fools game.
whatok超过 9 年前
<a href="https:&#x2F;&#x2F;xkcd.com&#x2F;1570&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;1570&#x2F;</a>
kaa2102超过 9 年前
Limited computing power, uncertainty and the false perception of perfect information (or perfect intuition).
slantaclaus超过 9 年前
Computers aren&#x27;t normally so good at predicting the future?
blahblah3超过 9 年前
Even if at some point humans no longer had any edge, by pure randomness some of them would still have really good performance. So even in a perfectly efficient market you wouldn&#x27;t expect humans to be taken over.
lordnacho超过 9 年前
I&#x27;ve been in the market for over a decade, and here&#x27;s my take:<p>- Lack of sophistication. &quot;Classically&quot; trained finance people don&#x27;t know much about computers. I took a finance class at a top business school, and it&#x27;s nothing compared to Engineering. A bit of time-value-of-money and maybe some option math, but really it doesn&#x27;t come close to the sophistication of a CS or Engineering course. I went to a meeting last week with a guy who wanted an automated trading system. He hadn&#x27;t heard of Python. He didn&#x27;t have any idea how to execute other than on 3rd party programs (which of course use algos, but he was just providing the decisions).<p>- Lack of scale. There&#x27;s a lot of family offices who have a few tens to hundreds of millions of dollars. If they wanted an algo trading guy, they&#x27;d have to pay him a lot of money, you&#x27;d want more than one, and you&#x27;d need infrastructure. Plus there&#x27;s the risk you get all this, hire the guys, and their results are no better than random. A lot of small fortunes like this tend to spend more time in tech-soft areas, like private equity or private debt. The stock trades are an afterthought that they can&#x27;t spend much resource on.<p>- Two kinds of decision making: arbitrage and investment. The put it bluntly, arbitrage is easy to mechanize. If some guy quotes some options at the wrong value, it&#x27;s obvious you want to trade with him. There&#x27;s looser arbs (things that sort of always come back to normal), but the principle is the same. In some sense, it&#x27;s not a financial challenge, it&#x27;s a technological one. For investment (I think XYZ corp will go up), you need to have a sense of what risk you want to take. Utility functions are not easy to put into code. You can try, but you end up with situations where you decide not to have the algo on. There&#x27;s also the principal-agent problem; most traders are agents, they need to look good to their boss. They need to be able to explain why they are betting on some company. Often, more effort goes into how to justify your trades than what trades to do.<p>- Things that can&#x27;t go into a machine: I worked with a guy who used to go meet the CEOs, look them in the eye, and ask them if they&#x27;d make money. Now I&#x27;m not saying this approach works, but if this is your investment edge, how are you ever going to put that in a machine?<p>- Insider information: taking this in the loose sense, not the criminal one. If you&#x27;re highly dependent on understanding some part of the market better than others, you may be better off talking and networking rather than coding. Goldmans are great at this. Every time you meet them, they offer a bit of info in exchange for yours. It lets them see things like the mortgage bubble before it happens, whereas a model would probably have issues due to the small amount of computerized data.
codeonfire超过 9 年前
Humans invest, computers trade. Its not about who is better at predicting. Most companies will gain value over time. There&#x27;s no prediction to it. Algorithms are not predicting either. They are trying to fake out other algorithms and profit off of market inefficiencies. You don&#x27;t need an algorithm, though, to buy something and then sell it six months later.