Hello,
I'm new at this, and would like some help with Contract Definitions for the ECBOT exchange contracts.
Using the provided Python sample Program.py and am able to obtain snapshot data for GLOBEX and NYMEX, however with ECBOT I am not able to obtain any snapshot information unless I provide a conId, as per the contract definition:
contract = Contract()
contract.conId = 428519925
contract.secType = "FUT"
contract.exchange = "ECBOT"
contract.currency = "USD"
contract.localSymbol = "MYMM1"
However when the conId is omitted, as I do in all other contracts, I receive the dreaded 200 error message.
ERROR 1005 200 No security definition has been found for the request.
Is someone able to help me with the correct way of defining these contracts: MYM, YC, YK and YW?
Thanks,
KH