Search Results: "willi"

31 October 2005

Eric Warmenhoven: Selling options

There are lots of cases where you can have a positive view of a stock, but still want a bit of investment protection. A fairly typical way of getting some protection against a drop in price is to place a stop-loss order with your broker, so that if a stock hits a certain price that you set, the broker will automatically sell the stock. This limits your loss (known as downside protection), and if the price doesn’t go down, then you keep all the stock, and you get to take full advantage if the price goes up (known as upside participation). Also, it should be free to place a stop-loss order with your broker, unless the price is hit and the stock is sold. So, stop-loss orders have three benefits: downside protection, upside participation, and no up-front cost. Unfortunately, there are a couple downsides (no pun intended) to stop-loss orders. The first is that if a stock is really plummeting (there aren’t any buyers at all), then it may be difficult or impossible for your broker to get the price that you’ve specified. That’s sort of an extreme situation though and only happens about once every thirty years (think October 19, 1987). The other, much more likely, scenario is that the stock goes through a temporary decline (causing your stock to be sold), but then recovers. In that case, you’ve sold for a loss and you miss out on the recovery. So instead of placing a stop-loss order with your broker, you can purchase what’s called a protective put. A “put” is a contract that says the buyer of the put has the right (not an obligation; it’s the buyer’s choice) to sell stock on (or before, in most cases) a predetermined day at a predetermined price to the person who sold (”wrote”) the put. For example, today RHAT closed at $23.22; you can buy an option to sell 100 RHAT shares at $22.50 (the strike price) anytime between today and November 18, 2005 (the option expiration date) for $55 (as reported by Yahoo!). So you get downside protection and full upside participation, for a price. (There’s also a married put, which is the same thing as a protective put, except you buy the stock at the same time as the put; a protective put implies that you already own the stock.) But there is still the annoying up-front cost. If you’re willing to risk missing out on some of the potential upside though, you can offset the costs. A collar is when you buy a protective put and at the same time selling a call option. By selling (writing) a call, you give someone else the right (again, not the obligation) to buy shares on a predetermined date for a predetermined price. For example, say you do buy the protective put above, and at the same time, write a call option for 100 RHAT shares that expires on November 18, 2005 for a strike price of $25. The proceeds from this sale will be $30 (again, minus fees). So for a cost of $25 ($55 to buy the put minus $30 to write the call), you’ve got downside protection, and upside participation up to about 7.7%. All of this assumes that your preference is to keep the stock. But say that your stock has done very well and it’s gotten to be a sizeable part of your portfolio, and you’d like to diversify a bit. That means that you’re serious about selling it, regardless of what you think the price is going to do. (There are lots of good reasons to sell a stock that’s enjoyed nice gains, not the least of which is that nice gains are generally caused by nice growth, and a company can only grow so big.) Selling the stock outright is one technique; another is a variant of dollar-cost averaging, but instead of buying a fixed dollar amount, sell a fixed number of shares. But you can combine either of these with writing call options to potentially achieve even better results. A covered call is when you own a stock and write a call option on it (like a married put, a buy-write is when you buy the stock and write the call at the same time). Instead of selling the stock immediately, you give someone else the option to buy it from you at a predetermined future date. Because the date is in the future, there’s a bit of a premium that buyers will pay (which means more money for you). For example, November 18, 2005 calls for RHAT with a strike price of $22.50 are selling for $120 for 100 shares; that means that if the option is exercised, you make $22.50 from the sale, plus $1.20 per share from the option, for a total of $23.70 as your effective sale price. If the option is not exercised though, then your shares are not sold, but you get to keep the $120, and do the whole thing over again. (Unfortunately for me, Brocade has a company policy prohibiting collars and covered calls. But fortunately for me, I don’t own very much BRCDE stock.)

28 October 2005

Eric Warmenhoven: More books

Continuing on the reading binge, I’ve read: The Warren Buffet Way by Robert G. Hagstrom: This book got really repetitive after a while. Warren Buffet is a disciple of Benjamin Graham, the original value investor, who is referred to heavily in all three books. According to Graham, the theories of an efficient market don’t apply very well, and it’s occasionally very easy (especially during a recession) to buy companies (or their stocks) for far less than they’re worth. Buffet simply buys the whole company. The best advice is that “the market is only useful as a reference to see if anyone’s offering to do something foolish”. It’s a theme that’s echoed in all three books. One Up On Wall Street by Peter Lynch and John Rothchild: Not as good as I’d hoped, but in some ways better, and worth reading. The title comes from the idea that individual investors are actually better placed to take advantage of the market before institutions, since they often have access to information to assess a company with before analysts even take a look at the company. He then follows this up by saying that you should treat it as a tip, and that you should treat all tips the same: as a reason for investigating a particular company. All of the preceeding didn’t impress me much. But he then tells you how he goes about assessing a company, especially reasons why he won’t buy a company, which I found very helpful. The Intelligent Asset Allocator by William J. Bernstein: The best of the three. This book picks up where Random Walk leaves off; that book encourages diversification, while this one shows you how to do it. Also, Random Walk focuses largely on the stock market, whereas this book discusses lots of asset classes and the correlations between them and how to pick a portfolio designed to maximize return while reducing risk. Also he spends a lot of time on specific details about which mutual funds are good for various asset classes, as well as various tips for really squeezing out as much return as possible through thinks like tax-conscious funds.

25 October 2005

Clint Adams: Apologies to that balding guy

And a Game Boy symphony crashes into space
The hipsters hanging upside down
That guy's German accent is utterly base
He's a bit of a clown
Still you refuse to be traced
To me it seems such a waste
And that Halo dance troupe's got a feel that's bittersweet
And it's your face that I'm looking for on every street
Defanged arugula, and a mushroom in  
Entertainment with zeal
Motown singing
And a dance retinue
It was pretty surreal
Then it's time for a chug
In an Irish-style snug
And the rain clouds over Williamsburg
Explode without heat
And it's your face that I'm looking for on every street

21 October 2005

Eric Warmenhoven: Upgrades

There’s a subtle difference between a replacement and an upgrade, and in my mind it has something to do with the relative qualities of the old and the new. I like my current car and don’t expect that my next car will be particularly better, but different, and for a different purpose. My old and new RSS aggregators are both complete crap. Lisa and I have been living in our home for almost exactly one year now; the exact day that we moved was July 23. It’s been a good starter house, but there are a few factors lately that have convinced us that it’s getting time for an upgrade. Recently we discovered that the air conditioning didn’t work; it didn’t cool the air that came out, and it no longer blew into the downstairs area. It’s taken us two weeks to get it working, and it’s still not fixed; there’s a leak and it’s so slight that to find it will take a week, during which we won’t be able to use the system. Since it’s the middle of summer we opted to postpone fixing it and will just have it refilled periodically, until we’re willing to not have heating or cooling (like October). It’s under warranty so it’s not our expense. Also, being in a townhouse has made us keenly aware of our neighbors, and our desire to have a bit of distance from them. So last weekend we started getting an idea of places and types of homes that we’d be interested in looking at. We’ll probably end up moving in a year or so. As a housewarming gift, my dad bought us a rather nice television. We have DirecTV with TiVO, but it’s not the HD service, so recently I’ve been thinking about getting it. The satellite dish is actually currently owned by our homeowners’ association, and they’re absolutely miserable to try and get anything done through. So I think since I’m the only one in my building who has DirecTV, that I’ll just replace the dish myself, and put back the original one when I move out. Is there more than one HD DirecTiVo box? The one that Best Buy has on their website is $700 for 250GB.

19 October 2005

Raphaël Hertzog: Serial overrun on Linux

Working with serial lines can sometimes give you big headaches. I have an embedded PC based on 386 SX 40 processor. This PC doesn’t make much but it has programs using the serial line intensively. Things didn’t work as well as expected so I looked carefully what was going on … the beast was loosing bytes ! My information has been promptly confirmed by the /proc/tty/driver/serial entry. If you have “oe: X” (where X is a positive number) there, it means that one of your UART detected overrun errors. So what’s an overrun ? An overrun happens when the UART receives data while its FIFO buffer is full. Why is the FIFO full ? Because Linux didn’t treat the serial interruption quickly enough. Why is Linux so slow ? Linux is not a real time OS and it doesn’t guarantee any response time to interruption, so Linux is not so slow but my PC really is … what happens is that interruption related to the network are treated before serial interruptions. Furthermore IDE disk interruptions can take too long too. Worst case is of course, you’re treating a disk interruption, then you have to treat the network interruption and only after that you can treat the serial interruption which in fact happened right after the beginning of the disk interruption So fixing serial overrun is a rather complex problem since it’s really a kernel related problem. Googling on the subject I have found several ideas to explore : Using hdparm -u wasn’t enough to solve my problem… so I continued to look for a solution and I found one ! I recompiled my kernel with the low latency patch and the preemptible kernel patch. Those are usually used for multimedia applications where you need good responsiveness in order to deliver content in real-time but the fact is that they do work for my purpose too ! My serial overruns are completely gone at 9600 bauds. However I can still have some when running at 115200 bauds. Moreover I can create serial overrun by running a find / -type f grep -v /proc/ xargs md5sum in the background… I can’t make miracles with this slow processor… if you have more ideas to further improve the situation, I’m willing to try !

Next.

Previous.