Find the primary exchange for a stock in CQ
![[Deleted User]](https://secure.gravatar.com/avatar.php?gravatar_id=9d602934bbece301c5d2032cd405446a&size=50&default=https%3A%2F%2Fvanillicon.com%2F9d602934bbece301c5d2032cd405446a.png)
in FAQs
md.stat.exchange
would return the abbreviation for primary exchange, please refer to https://www.cloudquant.com/application/#/glossary/docs?version=9664&group=reference&path=9664|reference|exchange_codes for the mapping of exchange codes to exhcanges
Once you have figured out the primary exchange for a stock, you may want to send orders (such as MOO, MOC) to the specific exchange in your code. The order GUID info for different exchanges can be reached at https://www.cloudquant.com/application/#/glossary/docs?version=9664&group=reference&path=9664|reference|order_algos