Given an instrument use its base symbol and the matyearmon attribute to set the
symbol. This will work with any standard CME style instruments where the last 2
characters should encode the maturity. Note that it will NOT work with NYMEX
contracts, which need a bit of tweaking.
instrument - Instrument instrument to set symbol for.
public void calculateAttributes(Instrument instrument)
Given an instrument with a symbol determine the correct values for other attributes
which can be determined from this symbol. For example this could set the value of
the "matyearmon" attribute given an instrument with a CME style symbol which
encodes that information.
Given an instrument object containing some partial identifying information set the
values for exchangeid and symbol for that instrument to the proper internally
defined values. Any other arbitrary instrument values may also be set if the
implementation is capable of determining them.