Hi,
Anyone know what to set the primaryExchange to so that it is general (e.g. would buy from OTC even?)
I looked at:
but it simply said NASDAQ vs. ISLAND as far as I could see. So maybe it means ¡°ISLAND¡± for the various exchanges?
My present code runs fine in the paper trading account for NASDAQ, NYSE, AMEX, OTC trading all,
but when switched to the cash account isn¡¯t able to submit the OTC trades. They simply don¡¯t submit.
All the other submit fine.
Is there some value for contract.PrimaryExchange (or code) I can use which would submit it for NASDAQ / OTC / Amex / NYSE?
? ??def start(self):
contract = Contract()
? ? ? ? contract.secType = "STK"
contract.exchange = "SMART"
? ? ? ? contract.currency = "USD"
? ? ? ? contract.primaryExchange = "NASDAQ"
? ? ? ? order = Order()