My addon will have a combo box that will allow the user to select an exchange, and after the exchange is selected, a list of pre-saved ticker symbols available on that exchange will be pulled from MySQL and displayed in the addon window. I want to populate this combo box from the NinjaTrader.Cbi.Exchange type. I see 81 fields there, and am trying to figure out which value from the field structure I should be using.
For example, Nyse is:
- field at index [34]
- MetadataToken = 67111518
- Name = "Nyse"
Which one of these should I be saving with my pre-selected tickers? I suppose the Index value may change, the name might change as well, but I am guessing the MetadataToken may correspond to some unique ID of the exchange.
Am I correct?
Thanks,
Libor
Comment