||displays all expirations.
||displays a particular expiration.
||display all strikes.
||displays a particular strike.
Using the Pound Sign
Perhaps the simplest application of the pound sign macro is its use in displaying the at-the-money strike. To display the at-the-money call, use the symbol root, the pound sign macro, and an instrument specifier, as follows:
When you use a single pound sign, as shown above, Aspen Systems assumes the expiration is the lead-month, and the strike is at-the-money. You can also use the pound sign more creatively with the expansion macro and strike modifiers.
Using the Pound Sign with the Expansion Macro
A common application of the pound sign macro is to use it with the expansion macro to view the calls or puts for a specific out-month contract. The pound sign specifies a particular out-month contract. To view futures calls or puts on a specific out-month contract, you enter the symbol root with a pound sign and delimiter, as follows,
where the # is the wildcard, and [n] indicates the wildcard delimiter, which is optional, and @ is the expansion macro. The last element can be C, P, or CP, for calls, puts, or calls and puts, respectively. For example, to display all the calls for the first out-month contract of the Standard and Poors future, you would type SP#1@C. Then, of course, you pressb. In both cases, the wildcard is delimited with a 1. The 1 always corresponds to the first out-month. To illustrate this functionality, assume the current date is 1/1/94 and consider the following table:
||lead-month, i.e., March, 1994.
||first out month, i.e., June 1994
||second out month, i.e., September, 1994
||third out month, i.e., December, 1994
||fourth out month, i.e., March, 1995
In this symbol, SP is the symbol root, #1 specifies the first out month, the expansion macro specifies a list of all strikes, C specifies calls. If the current date is 1/1/94, this option symbol will display a list of all call strikes on the June S&P 500 future. To view the second out-month contract, you would enter SP#2@C, to view the third, SP#3@C, and so on. You can list calls and puts by entering CP at the end of the symbol.
Pound Sign and Expansion Macro Combination Examples
The following table contains a variety of wildcard symbols that use both the pound sign and expansion macros. These combinations enable you to display option symbols without knowing an options strike. When you use wildcards and macros in building your option strategies, as contracts roll, the option quotes displayed on your quote page also roll automatically, without requiring you to reenter each option symbol. The following are just a few examples of possible combinations.
||Displays all calls on the first out-month contract.
||Displays all puts on the second out-month contract.
||Displays all in-the-money calls and puts for the second out-month contract.
||Displays the calls and puts that are three strikes out of the money in the
third out-month contract.
You can also use the pound sign macro with a strike modifier to view a particular strike. When you use strike modifiers, a symbol can contain two pound signs. The first pound sign specifies a particular expiration. The second functions as the strike modifier. To illustrate how the strike modifier works, assume the S&P future is trading at 447 and read the following table.
||fourth strike out
||third strike out
||second strike out
||first strike out
||first strike in
||second strike in
||third strike in
||fourth strike in
If the underlying moves to 460, the entire paradigm shifts. With strike modifiers, Aspen Systems automatically moves with the market.
To view futures calls or puts on a specific out-month contract, you enter the symbol root with a pound sign followed by a strike modifier, as follows:
where the # is the wildcard, and [n] indicates the wildcard delimiter, which is optional, the second # specifies a strike, and <modifier> is the strike modifier, which provides the information necessary for displaying a particular strike. For example,
displays the S & P 500 future call that expires in the second out month and that is two strikes out of the money.
Pound Sign Strike Modifier Combination Examples
||Displays the at-the-money near month call.
||Displays the at-the-money near month put.
||Displays the in-the-money near month call.
||Displays the out-of-the-money near month call.
||Displays the near month call that is three strikes in the money.
||Displays the in-the-money near month put.
||Displays the out-of-the-money near month put.
||Displays the near month put that is three strikes in the money.
||Displays the first out-month put that is three strikes in the money.
||Displays the first out-month put that is three strikes out of the money.