Idea for getting rich using computers to track stocks
The main reason I'm aware of that very few individuals do this sort of trading is that you're not taking into account the transaction costs, which can and will be considerable for a small-time investor. Say your transaction costs you $12, that means in order to come out ahead you'll have to have a fairly large position in a given instrument to make that fee back and some money. Most smaller investors wouldn't really want to tie up 5-6 figures for a day on the chance that you'll get $100 back. The economics change for investment firms, especially market makers that get special low fees for being a market maker (ie, offering liquidity by quoting all the time). "I (and probably most considering trading) had a similar thought as you.  I thought if I just skimmed the peaks and sold before the troughs, perhaps aided by computer, I'd be able to make a 2% here, 2% there, and that would add up quickly to a nice amount of money.  It almost did seem ""foolproof"". Then I realized that sometimes a stock just slides...down...and there is no peak higher than what I bought it for.  ""That's OK,"" I'd think, ""I'm sure it will recover and surpass the price I bought it for...so now I play the waiting game.""  But then it continues sliding, and my $10k is now worth $7k.  Do I sell?  Did I build a stop loss point into my computer program?  If so, what is the right place to put that stop?  What if there is a freak dip down and it triggers the stop loss but THEN my stock recovers?  I just lost $14,000 like this last week--luckily, only virtually! The point is, your idea only has half a chance to work when there is a mildly volatile stock that stays around some stable baseline, and even then it is not easy.  And then you factor in fees as others mentioned... People do make money doing this (day traders), and some claim you can use technical analysis to time orders well, so if you want to try that, read about technical analysis on this site or elsewhere." "There are many ways to trade. Rules based trading is practiced by professionals. You can indeed create a rule set to make buy and sell decisions based on the price action of your chosen security. I will direct you to a good website to further your study: I have found that systemtradersuccess.com is a well written blog, informative and not just a big sales pitch. You will see how to develop and evaluate trading systems. If you decide to venture down this path, a good book to read is Charles Wright's ""Trading As A Business."" It will get a little technical, as it discusses how to develop trading systems using the Tradestation trading platform, which is a very powerful tool for advanced traders and comes with a significant monthly usage fee (~$99/mo). But you don't have to have tradestation to understand these concepts and with an intermediate level of spreadsheet skills, you can run your own backtests.  Here is a trading system example, Larry Connors' ""2 period RSI system"", see how it is evaluated: http://systemtradersuccess.com/connors-2-period-rsi-update-2014/, and this video teaches a bit more about this particular trading system: https://www.youtube.com/watch?v=i_h9P8dqN4Y IMPORTANT: This is not a recommendation to use this or any specific trading system, nor is it a suggestion that using these tools or websites is a path to guaranteed profits. Trading is a very risky endeavor. You can easily lose huge sums of money. Good luck!"
Another one I have seen mentioned used is Equity Feed. It had varies levels of the software depending on the markets you want and can provide level 2 quotes if select that option. http://stockcharts.com/ is also a great tool I see mentioned with lots of free stuff. "There's a few layers to the Momentum Theory discussed in that book. But speaking in general terms I can answer the following: Kind of. Assuming you understand that historically the Nasdaq has seen a little more volatility than the S&P. And, more importantly, that it tends to track the tech sector more than the general economy.  Thus the pitfall is that it is heavily weighted towards (and often tracks) the performance of a few stocks including: Apple, Google (Alphabet), Microsoft, Amazon, Intel and Amgen.  It could be argued this is counter intuitive to the general strategy you are trying to employ. This could be tougher to justify.  The reason it is potentially not a great idea has less to do with the fact that gold has factors other than just risk on/off and inflation that affect its price (even though it does!); but more to do with the fact that it is harder to own gold and move in and out of positions efficiently than it is a bond index fund.   For example, consider buying physical gold.  To do so you have to spend some time evaluating the purchase, you are usually paying a slight premium above the spot price to purchase it, and you should usually also have some form of security or insurance for it.  So, it has additional costs.  Possibly worth it as part of a long-term investment strategy; if you believe gold will appreciate over a decade. But not so much if you are holding it for as little as a few weeks and constantly moving in and out of the position over the year. The same is true to some extent of investing in gold in the form of an ETF.  At least a portion of ""their gold"" comes from paper or futures contracts which must be rolled every month.  This creates a slight inefficiency.  While possibly not a deal breaker, it would not be as attractive to someone trading on momentum versus fundamentals in my opinion. In the end though, I think all strategies are adaptable.  And if you feel gold will be the big mover this year, and want to use it as your risk hedge, who am I or anyone else to tell you that you shouldn't." "For any accounts where you have a wish to keep track of dividends, gains and losses, etc., you will have to set up a an account to hold the separately listed securities.  It looks like you already know how to do this.  Here the trading accounts will help you, especially if you have Finance:Quote set up (to pull security prices from the internet). For the actively-managed accounts, you can just create each managed account and NOT fill it with the separate securities.  You can record the changes in that account in summary each month/year as you prefer. So, you might set up your chart of accounts to include these assets: And this income: The actively-managed accounts will each get set up as Type ""Stock.""  You will create one fake security for each account, which will get your unrealized gains/losses on active accounts showing up in your trading accounts.  The fake securities will NOT be pulling prices from the internet.  Go to     Tools -> Securities Editor -> Add and type in a name such as ""Merrill Lynch Brokerage,"" a symbol such as ""ML1,"" and in the ""Type"" field input something like ""Actively Managed."" In your self-managed accounts, you will record dividends and sales as they occur, and your securities will be set to get quotes online.  You can follow the general GnuCash guides for this.   In your too-many-transactions actively traded accounts, maybe once a month you will gather up your statements and enter the activity in summary to tie the changes in cost basis.  I would suggest making each fake ""share"" equal $1, so if you have a $505 dividend, you buy 505 ""shares"" with it.  So, you might have these transactions for your brokerage account with Merrill Lynch (for example): When you have finished making your period-end summary entries for all the actively-managed accounts, double-check that the share balances of your actively-managed accounts match the cost basis amounts on your statements.  Remember that each fake ""share"" is worth $1 when you enter it.  Once the cost basis is tied, you can go into the price editor (Tools -> Price Editor) and enter a new ""price"" as of the period-end date for each actively-managed account.  The price will be ""Value of Active Acct at Period-End/Cost of Active Acct at Period-End.""  So, if your account was worth $1908 but had a cost basis of $505 on Jan. 31, you would type ""1908/505"" in the price field and Jan. 31, 2017 in the date field. When you run your reports, you will want to choose the price source as ""Nearest in Time"" so that GnuCash grabs the correct quotes. This should make your actively-managed accounts have the correct activity in summary in your GnuCash income accounts and let them work well with the Trading Accounts feature." "There's several approaches to the stock market. The first thing you need to do is decide which you're going to take. The first is the case of the standard investor saving money for retirement (or some other long-term goal). He already has a job. He's not really interested in another job. He doesn't want to spend thousands of hours doing research. He should buy mutual funds or similar instruments to build diversified holdings all over the world. He's going to have is money invested for years at a time. He won't earn spectacular amazing awesome returns, but he'll earn solid returns. There will be a few years when he loses money, but he'll recover it just by waiting. The second is the case of the day trader. He attempts to understand ultra-short-term movements in stock prices due to news, rumors, and other things which stem from quirks of the market and the people who trade in it. He buys a stock, and when it's up a fraction of a percent half an hour later, sells it. This is very risky, requires a lot of attention and a good amount of money to work with, and you can lose a lot of money too. The modern day-trader also needs to compete with the ""high-frequency trading"" desks of Wall Street firms, with super-optimized computer networks located a block away from the exchange so that they can make orders faster than the guy two blocks away. I don't recommend this approach at all. The third case is the guy who wants to beat the market. He's got long-term aspirations and vision, but he does a lot more research into individual companies, figures out which are worth buying and which are not, and invests accordingly. (This is how Warren Buffett made it big.) You can make it work, but it's like starting a business: it's a ton of work, requires a good amount of money to get going, and you still risk losing lots of it.  The fourth case is the guy who mostly invests in broad market indexes like #1, but has a little money set aside for the stocks he's researched and likes enough to invest in like #3. He's not going to make money like Warren Buffett, but he may get a little bit of an edge on the rest of the market. If he doesn't, and ends up losing money there instead, the rest of his stocks are still chugging along. The last and stupidest way is to treat it all like magic, buying things without understanding them or a clear plan of what you're going to do with them. You risk losing all your money. (You also risk having it stagnate.) Good to see you want to avoid it. :)" "You can have a look at betabrokers. It's an simulated stock trading platform which is entirely email-based. You start with 10 000$ and you make transactions with commands in the subject line of the email (e.g. ""buy 250$ AAPL"" or ""cover 20 shares of AAPL""). It should be straightforward to add an email interface to your python script." That doesn't sound like valid logic. If there were sufficient roi for the automation work, it will happen sooner or later. They would hire more people, full time or consultants, to do it. Wouldn't algorithmic trading be a separate and more specialized skill set than robotic process automation? Take a look at this: http://code.google.com/p/stock-portfolio-manager/ It is an open source project aimed to manage your stock portfolio. Similar premise, yes. It's an investment so you're definitely hoping it grows so you can sell it for a profit/gain. Public (stock market) vs. private (shark tank) are a little different though in terms of how much money you get and the form of income.    With stocks, if you buy X number of shares at a certain price, you definitely want to sell them when they are worth more. However, you don't get, say 0.001% (or whatever percentage you own, it would be trivial) of the profits. They just pay a dividend to you based on a pre-determined amount and multiply it by the number of shares you own and that would be your income. Unless you're like Warren Buffet and Berkshire who can buy significant stakes of companies through the stock market, then they can likely put the investment on the balance sheet of his company, but that's a different discussion. It would also be expensive as hell to do that.    With shark tank investors, the main benefit they get is significant ownership of a company for a cheap price, however the risk can be greater too as these companies don't have a strong foundation of sales and are just beginning. Investing in Apple vs. a small business is pretty significant difference haha. These companies are so small and in such a weak financial position which is why they're seeking money to grow, so they have almost no leverage. Mark Cuban could swoop in and offer $50k for 25% and that's almost worth it relative to what $50k in Apple shares would get him. It's all about the return. Apple and other big public companies are mature and most of the growth has already happened so there is little upside. With these startups, if they ever take off then and you own 25% of the company, it can be worth billions. Yes, add the stocks/mutual funds that you want and then you would just need to add all the transactions that you theoretically would have made. Performing the look up on the price at each date that you would have sold or bought is quite tedious as well as adding each transaction. "Translation : Funds managers that use traditionnal methods to select stocks will have less success than those who use artificial intelligence and computer programs to select stocks.  Meaning : The use of computer programs and artificial intelligence is THE way to go for hedge fund managers in the future because they give better results.  ""No man is better than a machine, but no machine is better than a man with a machine."" Alternative article : Hedge-fund firms, Wall Street Journal. A little humour : ""Whatever is well conceived is clearly said, And the words to say it flow with ease."" wrote Nicolas Boileau in 1674." nice work! really enjoyed looking through your website. do you see any possible application of Machine Learning (specifically tensorflow) to this? I was thinking about building a trading bot that uses data from various APIs as a strategy just as an experiment but I'm wondering what your insights are. Candlesticks and TA are a relic of pre-computer trading, period. Market makers use sophisticated algorithms not for trading, but manipulations. "Largely, because stock markets are efficient markets, at least mostly if not entirely; while the efficient market hypothesis is not necessarily 100% correct, for the majority of traders it's unlikely that you could (on the long term) find significant market inefficiencies with the tools available to an individual of normal wealth (say, < $500k). That's what frequent trading intends to do: find market inefficiencies.  If the market is efficient, then a stock is priced exactly at what it should be worth, based on risk and future returns.  If it is inefficient, then you can make more money trading on that inefficiency versus simply holding it long.  But in stating that a stock is inefficient, you are stating that you know something the rest of the market doesn't - or some condition is different for you than the other million or so people in the market.  That's including a lot of folks who do this for a living, and have very expensive modelling software (and hardware to run it on).  I like to think that I'm smarter than the far majority of people, but I'm probably not the smartest guy in the room, and I certainly don't have that kind of equipment - especially with high frequency trading nowadays. As such, it's certainly possible to make a bit of money as a trader versus as a long-term investor, but on the whole it's similar to playing poker for a living.  If you're smarter than most of the people in the room, you might be able to make a bit of money, but the overhead - in the case of poker, the money the house charges for the game, in the case of stocks, the exchange fees and broker commissions - means that it's a losing game for the group as a whole, and not very many people can actually make money.  Add to that the computer-based trading - so imagine a poker game where four of the eight players are computer models that are really good (and actively maintained by very smart traders) and you can see where it gets to be very difficult to trade at a profit (versus long term investments, which take advantage of the growth in value in the company). Finally, the risk because of leverage and option trading (which is necessary to really take advantage of inefficiencies) makes it not only hard to make a profit, but easy to lose everything.  Again to the poker analogy, the guys I've known playing poker for a living do it by playing 10-20 games at once - because one game isn't efficient enough, you wouldn't make enough money.  In poker, you can do that fairly safely, especially in limit games; but in the market, if you're leveraging your money you risk losing a lot.  Every action you take to make it ""safer"" removes some of your profit." This is going to be a bit of a shameless plug, but I've build a portfolio tracking website to track your portfolio and be able to share it (in read-only mode) as  well. It is at http://frano.carelessmusings.com and currently in beta. Most portfolio trackers are behind a login wall and thus will lack the sharing function you are looking for. Examples of these are: Yahoo Finance, Google Finance, Reuters Portfolios, MorningStart Portfolios, and many others. Another very quick and easy solution (if you are not trading too often) is a shared google docs spreadsheet. Gdocs has integration with google finance and can retrieve prices for stocks by symbol. A spreadsheet can contain the following: Symbol, Quantity, Avg. Buy Price, Price, P/L, P/L% and so on. The current price and P/L data can be functions that use the google finance API. Hope this helps, and if you check out my site please let me know what you think and what I could change. "A ""stock price"" is nothing but the price at which some shares of that stock were sold on an exchange from someone willing to sell those shares at that price (or more) to someone willing to buy them at that price (or less). Pretty much every question about how stock prices work is answered by the paragraph above, which an astonishingly large number of people don't seem to be aware of. So there is no explicit ""tracking"" mechanism at all. Just people buying and selling, and if the current going price on two exchanges differ, then that is an opportunity for someone to make money by buying on one exchange and selling on the other - until the prices are close enough that the fees and overhead make that activity unprofitable. This is called ""arbitrage"" and a common activity of investment banks or (more recently) hedge funds and specialized trading firms spun off by said banks due to regulation."