In an AddOn, an Instrument Selector has M6A typed into it and the M6A Instrument in the list double-clicked. The current M6A expiry dated Instrument (M6A 06-21) is correctly selected.
In the same Instrument Selector, type M6C and double-click produces M6C 12-20 ... which, obviously, is not correct. Several other Future Instruments behave similarly (e.g. M6J, M6S).
The same behaviour occurs in the Instrument Selector of a Basic Entry window.
The same (mis-)behaviour also occurs programmatically with:
Instrument.GetInstrument(<Future Symbol>+" ##-##").MasterInstrument.GetNextExpiry(DateTime.Now).ToString("MM-yy")
Thanks.
Comment