Open beppe969 opened 4 years ago
This line wasn't updated from the old API version. The newer API requires one of the following syntax':
contract.symbol('SPY')
or
symbol(contract,'SPY')
Both shall work while the later is a little bit faster.
I'll try that, thanks!
Hi First thanks again for this excellent software. I'm trying to get some experience with order placement and I tried your braketOrderSample.m script. However, I get the following error:
No public field m_symbol exists for class com.ib.client.Contract.
Error in bracketOrderSample (line 16) contract.m_symbol = 'SPY' ;
I tried changing contract.m_symbol to contract.symbol but I get the same type of error. Any hint would be appreciated. Thank you!
Giuseppe