Skip to content

Instantly share code, notes, and snippets.

@AnObfuscator
Last active August 29, 2015 14:23
Show Gist options
  • Save AnObfuscator/40b45475f85d316a865e to your computer and use it in GitHub Desktop.
Save AnObfuscator/40b45475f85d316a865e to your computer and use it in GitHub Desktop.
module MarketCodes =
let US = dict [
("A", "American Stock Exchange");
("B", "Boston Stock Exchange");
("C", "National Stock Exchange");
("D", "FINRA ADF");
("I", "International Securities Exchange");
("J", "Direct Edge A");
("K", "Direct Edge X");
("M", "Chicago Stock Exchange");
("N", "New York Stock Exchange");
("P", "Nyse Arca Exchange");
("Q", "NASDAQ OMX");
("T", "NASDAQ OMX");
("U", "OTC Bulletin Board");
("u", "Over-the-Counter trade in Non-NASDAQ issue");
("W", "Chicago Board Options Exchange");
("X", "Philadelphia Stock Exchange");
("Y", "BATS Y-Exchange; Inc");
("Z", "BATS Exchange; Inc")
]
let Canada = dict [
("T", "Toronto");
("V", "Venture")
]
let AllowedExchanges = [ "P"; "Q" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment