commission_report not running #1534
craigmediaservices
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My commissions report stopped working. I'm on the latest "develop" and ibgateway 1030.
The main error appears to be "You must specify an account" - is this normal for the test strategy? No account is specified or being passed, and therefore it appears ib gateway is therefore returning no data.
2025-06-17 15:41:32 ERROR ib_insync.wrapper Error 435, reqId 927: You must specify an account., contract: Contract(secType='FUT', conId=731454211, symbol='DJ200S', lastTradeDateOrContractMonth='20250620', multiplier='50', exchange='EUREX', currency='EUR', localSymbol='FSCP 20250620 M', tradingClass='FSCP') 2025-06-17 15:41:32 DEBUG root {'component': 'ibFuturesContractData'} Reqid 927: 435 You must specify an account. for Contract(secType='FUT', conId=731454211, symbol='DJ200S', lastTradeDateOrContractMonth='20250620', multiplier='50', exchange='EUREX', currency='EUR', localSymbol='FSCP 20250620 M', tradingClass='FSCP') 2025-06-17 15:41:32 DEBUG root {'component': 'ibExecutionStackData'} Reqid 927: 435 You must specify an account. for Contract(secType='FUT', conId=731454211, symbol='DJ200S', lastTradeDateOrContractMonth='20250620', multiplier='50', exchange='EUREX', currency='EUR', localSymbol='FSCP 20250620 M', tradingClass='FSCP')
The second is that the date format being passed is incorrect, even though it appears the repo code is already trying to address this
2025-06-17 15:36:11 DEBUG root {'component': 'ibExecutionStackData', 'strategy_name': 'testCommmission', 'instrument_code': 'ALUMINIUM_LME', 'contract_order_id': '', 'broker_order_id': ''} Going to submit order (Order ID:no order ID) Type market for testCommmission/ALUMINIUM_LME/20250900, qty [10], fill [0]@ price, None Parent:no parent Children:no_children to IB 2025-06-17 15:36:11 ERROR ib_insync.wrapper Error 10330, reqId 770: The expiry date/time format is invalid. The correct format is yyyyMM, yyyyMMdd HH:mm:ss <time-zone> (operator or instrument time zone) or yyyyMMdd-HH:mm:ss (UTC time zone)., contract: Contract(secType='FUT', conId=490819183, symbol='AH', lastTradeDateOrContractMonth='20250917 16:35:00 GB', multiplier='25', exchange='LMEOTC', currency='USD', localSymbol='AH_20250917', tradingClass='AH') 2025-06-17 15:36:11 DEBUG root {'component': 'ibFuturesContractData'} Reqid 770: 10330 The expiry date/time format is invalid. The correct format is yyyyMM, yyyyMMdd HH:mm:ss <time-zone> (operator or instrument time zone) or yyyyMMdd-HH:mm:ss (UTC time zone). for Contract(secType='FUT', conId=490819183, symbol='AH', lastTradeDateOrContractMonth='20250917 16:35:00 GB', multiplier='25', exchange='LMEOTC', currency='USD', localSymbol='AH_20250917', tradingClass='AH')
Live trading is working fine though, and it looks like nobody else is having this issue - so a bit confused.
Beta Was this translation helpful? Give feedback.
All reactions