I purchased a website ([login to view URL]) that I intend on using to host free web applications that model financial options. A large part of this is a calculator that will show the potential payout of a stock option.
The value of an option can be estimated by using the Black-Scholes formula. You can find an example of this code here that you can use ([login to view URL])
This job has the following requirements:
1) Replicate a client-side webapp similar to that on [login to view URL]'s calculators that can produce a table of an option's price given various prices and dates. This should allow the same entry options for a calculation (though manual input for the option and option price is ok rather than using an api to request that data as the example website does).
2) Allow the input of the calculation to include multiple options at a time should the user choose to add more options (called spreads, there are single-leg options, like a long-call or naked-put, or multi-leg strategies like a call-spread calendar-spread). The resulting table for a spread (and/or multiple legs) will be the sum of the elements in each of the legs. (so a table output with 3 options calculation entries will have the 1,1 cell of the resulting table be the sum of cells 1,1 for tables 1, 2, and 3).
3) The calculation will appear on the page without requiring the page to refresh.