lib/ib-ruby/messages/incoming.rb in ib-ruby-0.5.13 vs lib/ib-ruby/messages/incoming.rb in ib-ruby-0.5.14

- old
+ new

@@ -549,11 +549,11 @@ :local_symbol => @socket.read_string load_map [:position, :int], [:market_price, :decimal], [:market_value, :decimal], [:average_cost, :decimal], - [:unrealized_pnl, :decimal], - [:realized_pnl, :decimal], + [:unrealized_pnl, :decimal], # TODO: Check for Double.MAX_VALUE + [:realized_pnl, :decimal], # TODO: Check for Double.MAX_VALUE [:account_name, :string] end def to_human "<PortfolioValue: #{@contract.to_human} (#{@data[:position]}): Market #{@data[:market_price]}" +