Subject: | TypeError in method 'Contract_symbol_set', argument 2 of type 'IBString *' |
api-demo.pl produces "TypeError" message when trying to call
"$contract->swig_symbol_set( 'MSFT' )" or any other method which uses
string parameter.
[misch@xyz examples]$ ./api-demo.pl
Connecting to yyyyyyyy:7497 with clientID = 42... Connected!
Sending request for current server time.
TypeError in method 'Contract_symbol_set', argument 2 of type 'IBString *'
Tried this on two different servers, both behave the same.
Environment:
============
$ perl -v
This is perl, v5.8.8 built for x86_64-linux-thread-multi
$ uname -a
Linux yyy.example.org.cz 2.6.18-238.9.1.el5 #1 SMP Tue Apr 12 18:10:13
EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
CentOS release 5.7 (Final)
$ ibapi-config -v
9.66
$ ibapi-config -p
/home/misch/perl5/lib/perl5/Alien/InteractiveBrokers/IBJts