NQ Futures Security Definition


 

When I try to place an order on NQ futures, I have defined the contract the following way, but i get the following error:

Error:  32   200   No security definition has been found for the request

contract = Contract()
contract.symbol = 'NQ'
contract.secType = 'FUT'
contract.exchange = 'CME'
contract.currency = 'USD'
contract.lastTradeDateOrContractMonth = "202412"


 

Sorry to bother.  I figured it out.  I need to use March 2025.


On Fri, Dec 27, 2024 at 12:32 AM ebtrader via groups.io <jsiddique=gmail.com@groups.io> wrote:
When I try to place an order on NQ futures, I have defined the contract the following way, but i get the following error:

Error:  32   200   No security definition has been found for the request

contract = Contract()
contract.symbol = 'NQ'
contract.secType = 'FUT'
contract.exchange = 'CME'
contract.currency = 'USD'
contract.lastTradeDateOrContractMonth = "202412"