TI-83 Plus Black Scholes
Plug n play / 2009-06-16
A sloppy implementation of Black Scholes on the TI-83 Plus. Some of the code is pseudo'd out so I could type it properly (sqrt() is not the proper way to root on the calculator). Additionally, the first argument of normalcdf() is just a number small enough to use the function as a Z-score calculator. It seems to work swell.
Variables:
- S Stock
- K Strike
- V Volatility
- T Time in days
- C Call
- P Put
- H N(d1) - hedge ratio, delta
- I N(d2) - P(S > K)
- J N(-d1)
- L N(-d2)
Code:
- Disp "STOCK"
- Input S
- Disp "STRIKE"
- Input K
- Disp "VOL"
- Input V
- Disp "RATE"
- Input R
- Disp "DAYS"
- Input T
- T/365 -> T
- ln(S/K)+(R+.5*V^2)*T -> D
- D/(sqrt(T)*V)-> D
- ln(S/K)+(R-.5*V^2)*T -> E
- E/(V*sqrt(T)) -> E
- normalcdf(-1*10^10,D) -> H
- normalcdf(-1*10^10,E) -> I
- S*H-Ke^(-R*T)*I -> C
- normalcdf(-1*10^10,-D) -> J
- normalcdf(-1*10^10,-E) -> L
- -S*J+Ke^(-R*T)*L -> P
- Disp "CALL",C
- Disp "PUT",P
- Pause
- Disp "N(D1) DELTA",H
- Disp "N(D2)",I
Plug n play / 2009-06-16
A sloppy implementation of Black Scholes on the TI-83 Plus. Read.
with C# / mySQL connector / 2008-01-28
For that project where using MS SQL isn't going to cut it. Read.
"Ohhh. Let me see that." / 2007-03-12
For the most part, we took it seriously. Read.
It's thin, it's light. It's a tablet. / 2006-10-18
There's nothing cooler than a really small machine running linux. This is a collection of notes from the install, setup, and tweaking of the system running Ubuntu 6.06 LTS (Dapper Drake). It's probably a little over verbose. Read.
Thinkpads vs Dell vs HPQ vs The World / 2006-05-25
Hey Mike Sklut, you're a computer nerd, what kind of laptop should I get? Read.
How it's done / 2006-01-22
The Grossi Caesar salad. Read.
Editing with the Windows registry / 2005-08-12
Thinkpad - for players. But what about a Windows key? Read.
A look at four highly regarded anti-spyware tools and their effectiveness. / 2004-07-28
For when you already have spyware and want it removed ASAP. A good starting point. Read.
Command line and GUI clients / 2004-03-14
FTP may no longer be suitable for your file transferring needs. Here's the basics to SCP and where you can find some nifty GUI clients. Read.
Just a review / 2004-03-13
A short review of the Jens of Sweden MP110 mp3 player. Read.
Pour vous, Yaniv: 
On some mobile device? Try this.
vafrous.com: blog / articles / projects
©2008 vafrous.com, Mike Sklut / v0.4a / validate
\Va"frous\, a. [L. vafer.] Crafty; cunning; sly; as, vafrous tricks.