Helper function which returns an array of available instrument categories. It scans the list of markets, and builds a de-duplicated list from each market's categoryId.
Note: the categories are numeric values. To turn a numeric categoryId into the equivalent text, use Framework.Translation.TranslateInstrumentCategory(categoryId).