Sha256: 9018e2527716d77841a5ca5b174355d9fcfc6e04f30e655b333695eb0915fc29
Contents?: true
Size: 631 Bytes
Versions: 1
Compression:
Stored size: 631 Bytes
Contents
module IB module Messages module Outgoing # Data format is { :id => int: order_id, # :contract => Contract, # :order => Order } PlaceOrder = def_message [3, 31] # v.38 is NOT properly supported by API yet class PlaceOrder def encode server # Old server version supports no enhancements @version = 31 if server[:server_version] <= 60 [super, @data[:order].serialize_with(server, @data[:contract])].flatten end end # PlaceOrder end # module Outgoing end # module Messages end # module IB
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ib-ruby-0.7.6 | lib/ib-ruby/messages/outgoing/place_order.rb |