Finance::InteractiveBrokers::SWIGInteractiveBrokers API C++ wrapper and connector | |
Download |
Finance::InteractiveBrokers::SWIG Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Jason McManus
- Publisher web site:
- http://search.cpan.org/~infidel/
Finance::InteractiveBrokers::SWIG Tags
Finance::InteractiveBrokers::SWIG Description
Finance::InteractiveBrokers::SWIG is a Perl module that provides Perl connectivity to the InteractiveBrokers market data and program trading service, using the IB-provided C++ code. It is primarily intended to be used with POE::Component::Client::InteractiveBrokers, which provides a better API, but may be used standalone if desired, by referring to the IB documentation itself (under "SEE ALSO").It is a very complex module with an involved build process, and as such, you should read this documentation thoroughly before building or using this module distribution.SYNOPSISCreate an object as a subclass of Finance::InteractiveBrokers::SWIG::EventHandler: my $handler = MyEventHandler->new();Then: my $ib = Finance::InteractiveBrokers::SWIG->new( handler => $handler, # Your subclassed event handler ); $ib->eConnect(); $ib->reqCurrentTime(); # Your event loop here $ib->processMessages() while( $ib->isConnected() ); # And eventually... $ib->eDisconnect();See the examples/ directory in this distribution for more complete and well-commented examples.Product's homepage
Finance::InteractiveBrokers::SWIG Related Software