This is a little annoyance that I'm calling a bug that is actually kind of scary.
If you add a new named ATM Strategy via the Manage ATM Strategy Templates dialog, and you already have another chart open with an ATM Strategy applied to it, the other chart's ATM Strategy can change to another ATM Strategy. This is a little scary. Let my try to explain the senario with a little more detail.
Lets say I already have 3 ATM Strategies saved in my system named: "aaa", "ccc" and "eee".
I have 2 charts open. Chart1 has atm strategy "eee" applied to it. From Chart2, I create a new ATM Strategy and name it "bbb". Now Chart1's ATM Strategy will change from "eee" to "ccc" ! To me this is scary.
What I think is happening is the NT coders are using the ATM Strategy's drop down index to define what ATM Strategy is applied to a chart. This is perfectly understandable, I might have also done it that way. The problem is, if a new ATM Strategy is inserted into the list, a reindexing occurs. Assuming zero based indexing, in the above example Chart1 had index2 ("eee") applied to it. After the user adds a new ATM Strategy named "bbb", this sorts above "ccc" so upon inserting this new ATM Strategy into the list a reindexing occur and now index1 equates to "ccc" instead of "eee".
And to show the problem in a pseudo graphical form:
Before adding new ATM Strategy:
Index0 -> "aaa"
Index1 -> "ccc"
Index2 -> "eee" -> Chart1
After adding new ATM Strategy:
Index0 -> "aaa"
Index1 -> "bbb"
Index2 -> "ccc" -> Chart1
Index3 -> "eee"
Assuming the above assumption is correct, the NT coders need to check any time a user adds or removes a named ATM Strategy to see if any open charts are effected and adjust the charts accordingly.
thanks,
shawnj
Comment