News for hackers. Stuff that matters.
Re:Show HN: Guess whether a stock will rise or fall - and ge... by raldi on Monday June 18, 2012 @12:13PM (#4127113)
Nice. You should post benchmarks comparing the player's return to that of some well-defined AI's, like one which is always an optimist, one that's contrarian, and one that's a monkey throwing darts.

It would be a real eye-opener to those who do worse than the monkey.

Re:Show HN: Guess whether a stock will rise or fall - and ge... by tgrass on Monday June 18, 2012 @12:05PM (#4127068)
It seems the data is from the last four years...you'd be safe to just buy.
Re:Show HN: Guess whether a stock will rise or fall - and ge... by steve8918 on Monday June 18, 2012 @12:28PM (#4127190)
Pretty fun, but not very realistic in the sense that the trade is taken exactly after 10 or 20 days. You don't allow setting stop losses, etc.

Chartarcade.com is a really good stock simulator. It's been around for a while, also uses real stock data, and allows you to buy and sell while incrementing on a per-day or per-week basis. It's actually a really good tool for learning how to buy and sell stocks on a swing basis.

Re:Show HN: Guess whether a stock will rise or fall - and ge... by ssanders82 on Monday June 18, 2012 @01:27PM (#4127501)
Thanks for the link - that's a very polished tool. My advanced mode lets you step through day-by-day in a similar manner.
Re:Show HN: Guess whether a stock will rise or fall - and ge... by netvarun on Monday June 18, 2012 @12:12PM (#4127106)
Its seems like a really cool idea. I have one question: Where do you get all the previous financial data? You scrape from the financial sites?

-- Shameless plug: There is a site I recently built which is kinda related. (I just finished it last week. Still doing some testing, but would like to gather some feedback) Its called QuantHunt (http://www.quanthunt.com/) Basically you write a forex trading bot using a simple API and your progress is tracked in a leaderboard. Real world ticker data is used for the prices.

[Invitation code for registration:qKMqNj]

Re:Show HN: Guess whether a stock will rise or fall - and ge... by ssanders82 on Monday June 18, 2012 @12:16PM (#4127123)
The historical data was free from finance.yahoo.com. I'll check out your link, thanks!
Re:Show HN: Guess whether a stock will rise or fall - and ge... by daemon13 on Monday June 18, 2012 @12:02PM (#4127053)
Technical analysis chart looks cool, i.e. like a real one.

What lib did you use for charting?

Excellent idea - shall indulge some folks, if you go the app way. Better kill time with this than some MonsterCatJumpingDrawing app...

Re:Show HN: Guess whether a stock will rise or fall - and ge... by ssanders82 on Monday June 18, 2012 @12:17PM (#4127131)
Charting library is Telerik (http://www.telerik.com/products/aspnet-ajax/chart.aspx) - expensive but powerful. Thanks for the kind words.
Re:Show HN: Guess whether a stock will rise or fall - and ge... by daemon13 on Monday June 18, 2012 @12:47PM (#4127288)
You are welcome :-)

What are your plans with it?

Re:Show HN: Guess whether a stock will rise or fall - and ge... by burke on Monday June 18, 2012 @11:46AM (#4126959)
After getting 10 wrong in a row, I've decided to start buying more mutual funds.
Re:Show HN: Guess whether a stock will rise or fall - and ge... by ehsanu1 on Monday June 18, 2012 @12:04PM (#4127062)
Are you crazy?! You have a money-making machine there: just do the opposite of what you'd normally do!
Re:Show HN: Guess whether a stock will rise or fall - and ge... by cheez on Monday June 18, 2012 @12:08PM (#4127086)
This is known as the Costanza Method of trading.
Re:Show HN: Guess whether a stock will rise or fall - and ge... by Kronopath on Monday June 18, 2012 @01:36PM (#4127544)
I just tried this. It's frightening how well this actually worked.
Re:Show HN: Guess whether a stock will rise or fall - and ge... by marcusrobbins on Monday June 18, 2012 @12:13PM (#4127111)
I'd be interested in getting my hands on the data generated by this app. It would useful in building a stock prediction AI.
Re:Show HN: Guess whether a stock will rise or fall - and ge... by maeon3 on Monday June 18, 2012 @01:27PM (#4127505)
Are you serious about that? If so contact me.
Re:Show HN: Guess whether a stock will rise or fall - and ge... by ssanders82 on Monday June 18, 2012 @11:03AM (#4126689)
This is a re-launch of a web app I made a few years ago. I'm operating on the freemium model: pay a small one-time fee for access to premium features such as trade position size and price/volume indicators. Feedback needed, thanks!
Re:Show HN: Guess whether a stock will rise or fall - and ge... by mikeevans on Monday June 18, 2012 @11:06AM (#4126705)
The chart images are broken for me. Also, when I click buy/sell, nothing seems to happen. But when I refresh the page, I seem to have made money!

Seems like a fun an addicting idea though.

Re:Show HN: Guess whether a stock will rise or fall - and ge... by ssanders82 on Monday June 18, 2012 @11:30AM (#4126865)
Hmm I've gotten a few errors come through with a blank user agent, perhaps that's it? What browser are you on?
Re:Show HN: Guess whether a stock will rise or fall - and ge... by mikeevans on Monday June 18, 2012 @11:33AM (#4126890)
Chrome 19 on Windows 7. I shouldn't have a blank user agent, I wouldn't think.
Re:Show HN: Guess whether a stock will rise or fall - and ge... by antoko on Monday June 18, 2012 @11:54AM (#4127002)
I'm getting the same issue. Also on Win7 using IE9 or FF12
Re:Show HN: Guess whether a stock will rise or fall - and ge... by unclegene on Monday June 18, 2012 @11:28AM (#4126851)
Parse error: syntax error, unexpected T_DOUBLE_ARROW in C:\wamp\www\fakemoneyrealstocks.com\register_popup_complete.php on line 5
Re:Show HN: Guess whether a stock will rise or fall - and ge... by ssanders82 on Monday June 18, 2012 @11:31AM (#4126873)
Whoops, fixed!
Re:Show HN: Guess whether a stock will rise or fall - and ge... by daemon13 on Monday June 18, 2012 @12:54PM (#4127330)
Sam,

you got some cool stuff under your belt [this and prior projects].

You definitely need to make smth out of it!

Re:Show HN: Guess whether a stock will rise or fall - and ge... by cocoflunchy on Monday June 18, 2012 @01:23PM (#4127480)
Is it really unthinkable to trade for more than 20 days?

Does anyone play long-term in this game?

Re:Show HN: Guess whether a stock will rise or fall - and ge... by tgrass on Monday June 18, 2012 @12:03PM (#4127056)
How far back does your data go?
Re:Show HN: Guess whether a stock will rise or fall - and ge... by ssanders82 on Monday June 18, 2012 @12:18PM (#4127140)
I have data for all US stocks since 2000. At this point I limit the web app to the past few years or so, and only for S&P 100 stocks. I'll eventually open up more data for the premium users.
Re:Show HN: Guess whether a stock will rise or fall - and ge... by dnc on Monday June 18, 2012 @12:49PM (#4127299)
I've just made $2,180,000.0 :) (169 trades). Simple, nice idea. Congrats!
Re:Show HN: Guess whether a stock will rise or fall - and ge... by beej71 on Monday June 18, 2012 @03:01PM (#4127941)
I never recovered from trade one. You should quit your day job. ;-)
Re:Show HN: Guess whether a stock will rise or fall - and ge... by zackmorris on Monday June 18, 2012 @07:33PM (#4129162)
I also got to almost $2 million after a couple hundred trades, but then just started pushing buy every time and went back down to $100k. I helped my dad get up $40k on etrade in the 4 months just before 9/11, pleaded with him to collect his winnings in August, and then it all trickled away in the weeks afterwards. Stock trading is just a casino where the odds are 2% in your favor each day, but only the rich can play. I think hackers make good traders because of their contrarian nature, and ability to stay cool and read signs that most people are too impatient/impulsive to see.
Re:Show HN: Guess whether a stock will rise or fall - and ge... by user24 on Monday June 18, 2012 @12:16PM (#4127128)
A simple guide to how to read the graphs for a noob like me?
Re:Show HN: Guess whether a stock will rise or fall - and ge... by Luc on Monday June 18, 2012 @12:58PM (#4127359)
Here:

http://www.amazon.com/Evidence-Based-Technical-Analysis-Scie...

Bottom line (but very controversial among any diverse group of investors): it doesn't work. I always try to steer people away from it if - it's one of those big choices in life (like choosing a good wife or husband) that can have a major impact a few decennia down the line.

Re:Show HN: Guess whether a stock will rise or fall - and ge... by ssanders82 on Monday June 18, 2012 @12:19PM (#4127145)
The art of reading stock charts is called technical analysis (http://en.wikipedia.org/wiki/Technical_analysis). It's disputed whether it works or not, but it's fun to try!
Re:Show HN: Guess whether a stock will rise or fall - and ge... by adventureful on Monday June 18, 2012 @12:31PM (#4127202)
If you're getting your data free from Yahoo (scraping or API), aren't you limited by their non-commercial use clauses? That is, if you try to make money off of it without buying the data, doesn't that open you up to a huge liability risk?

Pretty sure that's stipulated all throughout their service (that you may not use any of their data for commercial purposes without their permission).

Acquiring that kind of data for commercial purposes normally costs a lot of money (relatively speaking).

Re:Show HN: Guess whether a stock will rise or fall - and ge... by maeon3 on Monday June 18, 2012 @12:38PM (#4127243)
Tried to throw you $10 there bub, but I after I clicked the "paypal" round button to buy, It sent me here:

"https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSI...

And I got:

FakeMoneyRealStocks.com Return to FakeMoneyRealStocks.com Error Message

This recipient is currently unable to receive money.

Return to FakeMoneyRealStocks.com PayPal

At this time, we are unable to process your request. Please return to FakeMoneyRealStocks.com and try another option.

Site Feedback Site Feedback

PayPal. The safer, easier way to pay. For more information, read our User Agreement and Privacy Policy.

Re:Show HN: Guess whether a stock will rise or fall - and ge... by ssanders82 on Monday June 18, 2012 @01:24PM (#4127483)
Thanks for trying. Paypal shut me down because they think I'm a financial services provider and are asking for all my professional membership licenses :(

Ssssh: If you click the paypal button now, I've redirected it to upgrade you for free!

Re:Show HN: Guess whether a stock will rise or fall - and ge... by maeon3 on Monday June 18, 2012 @12:25PM (#4127165)
Neat idea, it worked perfectly on the samsung galaxy s2 with android. I did a bunch of trades and lost money on most and got up to the screen to hit the user with the "pay me or go away" screen. On that screen, clicking "close" link makes the entire frame popup blink once, indicating failed click and no action taken.

Reloading the page brought me back to the main screen for 14 more trades.

Clicked buy now to see if that worked, pondered throwing you the 10 bucks. Paypal says: This recipient is currently unable to receive money.

Re:Show HN: Guess whether a stock will rise or fall - and ge... by ssanders82 on Monday June 18, 2012 @01:25PM (#4127494)
Thanks for trying. Paypal shut me down because they think I'm a financial services provider and are asking for all my professional membership licenses :(

Ssssh: If you click the paypal button now, I've redirected it to upgrade you for free!

I haven't tried this on my Galaxy Nexus so I'm surprised that it worked as well as it did on your phone.