Archive for May, 2008:

Firefox 3

Az mennyire rulez már az új (egyenlõre release candidate) Firefox-ban, hogy arra, hogy a jelszót megjegyezze-e, AZUTÁN kérdez rá, hogy már látom, hogy sikerült-e belépnem valahova? Szemben minden más jelenlegi browserrel, ahol nekem elõre kell tudnom, hogy jól emlékszem-e a jelszóra? (Általában nem.)

Nagy lépés ez az emberiségnek.

Leave a Comment

Indiai bölcsesség

A kunyhóm fedett, kényelmes,
nem toldott-foldott;
az elmém, kiegyensúlyozott,
szabad.
Kitartó maradok.
Úgyhogy, esõisten,
esõzz, ha akarsz.

My hut is roofed, comfortable,
free of drafts;
my mind, well-centered,
set free.
I remain ardent.
So, rain-deva.
Go ahead & rain.

Azért blog-oltam ide, mert sokszor eszembe jut a mindennapokban… A nyugalmat és békét sugárzó mentalítás tetszik benne nagyon. Indiai nyelvrõl Thanissaro Bhikkhu, angolról én fordítottam, a kb 2500 éve meghalt szerzõ remélt engedelmével.

Leave a Comment

Option simulation in Grapher (OS X)

I like stock options, I like them very much. But working with them on a high level requires good simulation of various situations and possibilities. And most of the tools that I found or bought are either very limited after a certain point of sophistication, or they cost a fortune.

But did you know, that if you have Apple’s OS X, then you already have the best option simulator installed? Well, almost. :) You have Grapher, that is very good for handling graphs. All we need now is a Grapher equation file that can handle the Black-Scholes model.

After looking for something like that on the whole internet, I came to the sad realization that I will have to do it myself. Took a few hours, but here it is: a Grapher file that calculates put and call option prices based on the parameters you give them. And the rest is up to Grapher (and your imagination).

Black Scholes option simulation on OS X using Grapher

Here it is, free for download, and use:

BlackScholesOptionSimulator.gcx (Right click, and “Download Linked File”)

In this example (on the picture, and in the file as a sample) we buy a PUT and a CALL option (together called a “straddle”) at $10 strike, 38 days before expiration, when the current price is also $10, and volatility is 35%. We examine what happens if we sell the same options 7, 14, 21, 28 and 35 days before expiration (this makes it 5 graphs), assume the volatility will be the same (35%), and the price of the stock is on the X axis.

We substract the close prices from the entry prices, and we graph our profit.

I’m not sure if I explain it very well, but you will figure it out, I’m sure. :-) The main point is that using the call(…) and put(…) functions and Grapher’s “series”, animation, 3D-display and other features, you can put together and simulate any complex combinations you can imagine, and examine the potential profit, the change of price depending on time, on volatility, or on any other parameter.

Good luck. Please drop a comment here if you have found this useful, just to keep me happy. Thanks!

Leave a Comment

Phun

Régebben az ember milyen sokszor akart fizika szimulátor programot írni. De megcsinálta más. És nagyon klassz. :-) Kis bemutató:

Itt lehet letölteni, OS X, Windows, Linux, minden van.

Leave a Comment

Sometimes dreams remind me of something

Olyan régen volt már New Model Army.

“I said – Father, I’m going to change the world
He said – Don’t you think that maybe, son. It’s changed enough already?
Don’t try to justify the things you live by
This fear you carry with you is not of your own making
Let it go – falling, falling, falling away

11,000 feet, we’re out of breath and still climbing up
High above the snow-line in the glittering ice
And beneath us, like an ocean, the white clouds slowly drifting
Breaking upon the mountain
Let it go – falling, falling, falling away

Wasting all the years just waiting on a promise
Undelivered but still not broken
And the world ruses by you way out of control
Like a carousel of noise with wild spinning lights

And sometimes we both sit here
Paralysed with tension, seized up tight
You want to make it safe, you want to make it okay
But this fear you carry with you is not of your own making
Let it go – falling, falling, falling away”

Leave a Comment