Returns the Security Type Code for a stock.
NOTE: currently there's no way to find Royalty Trusts or SPACs.
| Security Type Code | Description | Value |
|---|---|---|
| Common | Common Stock | 1 |
| Unit | Unit | 2 |
| Trust | Trust | 3 |
| DR | Depositary Receipts | 4 |
| MLP | Master Ltd. Partnerships | 5 |
| BDC | Business Dev. Companies | 6 |
| ETF | ETF | 7 |
Eliminate BDC companies
SecurityType != BDC
Find BDCs and MLPs
InSet(SecurityType, BDC, MLP)