Live data from Hacker News

Using an automated day trader to generate income

fattyfatfat.com

21–30 of 98 posts

Re: Using an automated day trader to generate income

#21

Heh, so this has piqued my interest. I have absolutely no experience in online investing/day trading, although I'm pretty sure a lot of you are veterans. Any books you'd recommend to a programmer with day trading aspirations?

I'd learn about finance before you learn about day trading.

The Intelligent Investor - Warren Buffet's favorite

A Random Walk Down Wall Street for one perspective.

Mark Douglas books for a different perspective

Options Volatility & Pricing for the technical stuff.

And Inside the Mind of a Street Addict for the bathroom read.

Re: Using an automated day trader to generate income

#22
post #9

If you thought something were profitable in a market, and it was easy enough to implement that any hedge fund could, why would you publish it? They'd just do it too until it was no longer profitable.

I don't expect wikipedia to be a reliable source of information on this topic, but there is an entry that claims that hedge funds already do this sort of thing: http://en.wikipedia.org/wiki/Program_trading

Oh they're correct, I know some people who write those programs. But they don't publish their algorithms.

Re: Using an automated day trader to generate income

#23

So, the obvious question for me is where can I buy stocks for $2.40 per trade? Any day trading successes I might manage would be eaten up by transaction costs at my current broker (where trades are $9.95, I think). I'd probably be a far more active trader at $2.40 (which may not be a good thing, but cutting costs is always good).

I think you can from these guys if you qualify:

http://individuals.interactivebrokers.com/en/main.php

Tradeking is $4.95 per trade.

Re: Using an automated day trader to generate income

#24
post #15

I have no idea what that guy is talking about with double moving averages and what not, but I'd bet that a few simple IF/THEN statements could have produced similar results over the same period of time. Say it hand done well, would you go an invest a few thousand dollars using the IF/THEN algorithm? On a similar note, say this guy did lose his $3500. Do you think you'd be reading this post on how to automate day trad…

What is investing if its not a IF/THEN statement?

If price goes up then sell, if price goes down then buy. If the company meets these financial criteria then buy, if not then sell. If the price approaches a resistance level then sell.

Whether your basing the investment decisions on fundamental or technical analysis, either way its an IF/THEN statement at some level.

Re: Using an automated day trader to generate income

#26
post #15

I have no idea what that guy is talking about with double moving averages and what not, but I'd bet that a few simple IF/THEN statements could have produced similar results over the same period of time. Say it hand done well, would you go an invest a few thousand dollars using the IF/THEN algorithm? On a similar note, say this guy did lose his $3500. Do you think you'd be reading this post on how to automate day trad…

Matt1,

you're exactly right. its just a bunch of if then statements. I played with quite a few variations of a VERY simple, primitive strategy.

I'm the first to admit that that day's P&L was largely the product of luck. In fact, I had quite a bit of remorse after the fact and was thankful that the coin flipped my way that day.

Regarding predictive engines, you're definitely right as well. Most educated financial professionals don't believe tat you can predict future price movement with any degree of certainty, but there IS a fairly large following up that believes that price behavior is at least price reverting in the short term.

I got lucky, I basically flipped a coin and HAPPENED to do it on a day where the SP500 moved a LOT. moving averages do TERRIBLY in environments where the market doesn't trend hugely in one direction. I think I talked about that a bit later.

On that note though, I still work with this, though my approach has changed dramatically. Its certainly possible to structure a trading strategy to fit your risk profile.

Nobody can win every time, but you can design the strategy to provide losses you are comfortable with.

Regarding tweaking buy/sell algos to predict future movement though, there's plenty of literature on that on both sides, so I won't really argue with you.

If you're itnerested, I recommend reading about high frequency algorithmic trading. You can also read my similar blog posts about why I think technical analysis is absolute drivel and the potentical justification for running a moving average algo.

Re: Using an automated day trader to generate income

#27
post #15

I have no idea what that guy is talking about with double moving averages and what not, but I'd bet that a few simple IF/THEN statements could have produced similar results over the same period of time. Say it hand done well, would you go an invest a few thousand dollars using the IF/THEN algorithm? On a similar note, say this guy did lose his $3500. Do you think you'd be reading this post on how to automate day trad…

What is investing if its not a IF/THEN statement? If price goes up then sell, if price goes down then buy. If the company meets these financial criteria then buy, if not then sell. If the price approaches a resistance level then sell. Whether your basing the investment decisions on fundamental or technical analysis, either way its an IF/THEN statement at some level.

touche

Re: Using an automated day trader to generate income

#28

If you thought something were profitable in a market, and it was easy enough to implement that any hedge fund could, why would you publish it? They'd just do it too until it was no longer profitable.

its quite true that a lot of people do it. Its not ACTUALLY a profitable venture in the sense that the risk-reward profile from a purely monetary standpoint is probably unjustified.

I did it for fun, to learn, to gamble, and hopefully get lucky. God knows I've spent money in worse ways before.

Regarding the theory that other players would jump in the market and cause the opportunity to go away: you're right, but they'd really have to parametrize the same strategy in the same way as you. thousands of people use moving averages already, but all parametrized differently so they produce buy and sell signals at different times.

There's certainly no ideal parametrization that is alawys profitable, as most research shows (and I tend to believe)

Re: Using an automated day trader to generate income

#29
post #7

If you thought something were profitable in a market, and it was easy enough to implement that any hedge fund could, why would you publish it? They'd just do it too until it was no longer profitable.

On the other hand, if you thought something was highly risky and likely to succeed only for a short time before blowing up, why not publish it, then bet against it? :) But seriously -- the author's comments seem to indicate that he is not totally comfortable with the technique and that he is aware it could lose, even though it didn't in this case.

you're right. and i ran it until it started losing. I announced the day i quit running the basic moving average crossover algo.

I still dabble with variations of it (made like 250 bucks last friday), but I'm now doing way more research and backtesting before I drop things into the market for real.

Re: Using an automated day trader to generate income

#30
post #7

Earlier quoted context omitted.

On the other hand, if you thought something was highly risky and likely to succeed only for a short time before blowing up, why not publish it, then bet against it? :) But seriously -- the author's comments seem to indicate that he is not totally comfortable with the technique and that he is aware it could lose, even though it didn't in this case.

you're right. and i ran it until it started losing. I announced the day i quit running the basic moving average crossover algo. I still dabble with variations of it (made like 250 bucks last friday), but I'm now doing way more research and backtesting before I drop things into the market for real.

on that note, i lost over 1000 bucks a day for 3 days straight, which is when i quit.

and on having the "secret sauce" to beat the market. Read about Edward Thorpe. He's a badass. He wrote the book "beat the dealer" which was the bible on counting cards and beating vegas at blackjack.

Then he figured out how to price options (convertibles, really) and made a killing in his own hedge fund (Princeton Newport Associates, I believe).

He had the secret sauce, used it to make a killing instead of publishing it. YEARS later, black and scholes published the essentially SAME formula for price options and eventually won a nobel price for their work.

But Thorpe stuck to his guns and made his fortune. Merits to both sides, I suppose.

Post reply on HN