Setting up a new TwsActiveX sheet for IB account.
The API connects just fine and Account Info is also downloaded with no issues on the Account and Portfolio sheets.
However, when I "Request Market Data" (CTRL-SHIFT-R) on the Ticker sheet, I get a compile error: "Argument Not Optional"
The line of code highlighted in the debugger is:
Call Util.ParseComboLegsIntoStruct(Cells(id, Columns(COLUMN_COMBOLEGS).column).value, objTWSControl.m_contractInfo.ComboLegs)
Anybody experience this? Have a fix?
I have not tweaked or edited the file or code in any way.
Thanks!
The API connects just fine and Account Info is also downloaded with no issues on the Account and Portfolio sheets.
However, when I "Request Market Data" (CTRL-SHIFT-R) on the Ticker sheet, I get a compile error: "Argument Not Optional"
The line of code highlighted in the debugger is:
Call Util.ParseComboLegsIntoStruct(Cells(id, Columns(COLUMN_COMBOLEGS).column).value, objTWSControl.m_contractInfo.ComboLegs)
Anybody experience this? Have a fix?
I have not tweaked or edited the file or code in any way.
Thanks!