{"id":1181,"date":"2015-10-01T04:52:34","date_gmt":"2015-10-01T09:52:34","guid":{"rendered":"http:\/\/www.amibroker.com\/kb\/?p=1181"},"modified":"2015-10-01T05:17:16","modified_gmt":"2015-10-01T10:17:16","slug":"how-to-categorize-symbols-coming-from-metastock-databases","status":"publish","type":"post","link":"https:\/\/www.amibroker.com\/wordpress\/kb\/2015\/10\/01\/how-to-categorize-symbols-coming-from-metastock-databases\/","title":{"rendered":"How to categorize symbols coming from Metastock databases"},"content":{"rendered":"

Many data vendors that deliver data in MetaStock database format offer quotes in separate MS databases organized in several folders, separate for different markets or industries. <\/p>

AmiBroker does not have any symbol limits, there is no need to maintain separate databases in AB and all the quotes can be placed in a single database. The configuration process of Metastock database as external data source is described here: http:\/\/www.amibroker.com\/guide\/h_extsources.html<\/a><\/p>

AmiBroker supports internally many ways to categorise symbols into groups, markets, sectors, industries, etc. To learn more about categories available in AmiBroker please check this: http:\/\/www.amibroker.com\/guide\/h_categories.html<\/a><\/p>

Now we may want to bring MS folder structure into AmiBroker’s category system. Sometimes data vendor would prepare appropriate automation scripts to do that work for us, but when they are not available, we can arrange the categories ourselves in the initial setup process.<\/p>

To do so, we could pick the folders one-by-one, then reassign the symbols to desired categories. The process is the following:<\/p>

First we configure the database:<\/p>