Module: IB

Defined in:
lib/ib-ruby/messages.rb,
lib/ib-ruby/ib.rb,
lib/ib-ruby/datatypes.rb,
lib/ib-ruby/symbols/forex.rb,
lib/ib-ruby/symbols/futures.rb

Overview

Copyright © 2006 Blue Voodoo Magic LLC.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

EClientSocket.java uses sendMax() rather than send() for a number of these. It sends an EOL rather than a number if the value == Integer.MAX_VALUE (or Double.MAX_VALUE). These fields are initialized to this MAX_VALUE. This has been implemented with nils in Ruby to represent the case where an EOL should be sent.

Defined Under Namespace

Modules: Datatypes, IncomingMessages, OutgoingMessages, Symbols Classes: ExtremelyAbstractMessage, IB, IBSocket

Constant Summary collapse

TWS_IP_ADDRESS =
"127.0.0.1"
TWS_PORT =
"7496"