Class: Java::ComIbClient::HistoricalTickBidAsk

Inherits:
Object
  • Object
show all
Defined in:
lib/ib_ruby_proxy/server/ib/historical_tick_bid_ask.rb

Instance Method Summary collapse

Instance Method Details

#to_rubyObject



8
9
10
11
12
13
14
15
16
17
18
# File 'lib/ib_ruby_proxy/server/ib/historical_tick_bid_ask.rb', line 8

def to_ruby
  ruby_object = IbRubyProxy::Client::Ib::HistoricalTickBidAsk.new
  ruby_object.time = time().to_ruby
  ruby_object.tick_attrib_bid_ask = tickAttribBidAsk().to_ruby
  ruby_object.price_bid = priceBid().to_ruby
  ruby_object.price_ask = priceAsk().to_ruby
  ruby_object.size_bid = sizeBid().to_ruby
  ruby_object.size_ask = sizeAsk().to_ruby

  ruby_object
end