Sunday, August 18, 2013

Option Strategy Plotter

The earlier mentioned code for Option strategy plotter has been ported to Google app engine. Apologize for the bad UI. It takes in 3 strings as input with no validation. The format is the same as mentioned earlier. I will mention it here again.

Format:
The strategies are defined are strictly typed. For Stock the syntax is as follows.
<Long/Short> <Volume> Stock <Price>

and for option...
<Long/Short> <Volume> <Strike> <Call/Put> <Price>

link: http://option-strategy-001.appspot.com/

Couple of examples are given below to understand the possible options that are valid.

Long 250 1860 Call 11.05
Short 250 1960 Call 3.05
Long 1000 Stock 131.7
Short 800 Stock 134.7

No comments:

Post a Comment