ib-ruby/ib-ruby — Issue #7: Error testing reqMktData 
Author: arvicco
Created: 2012-02-09 04:51:19+00:00
State: open
Labels: Brokertron

Castedo, I started testing reqMktData against Brokertron.

I was requesting:

:RequestMarketData,
:id => 456,
:contract => Contract.new(:symbol => "EUR",
:exchange => "IDEALPRO",
:currency => "USD",
:sec_type => "CASH",
:description => "EURUSD")
Expected some:
tickPrice (msg 1)
tickSize (msg 2)

Instead, got error:

"TWS Error Message 139: At reqMktData , expected double, but got ''"

This request is processed as valid by TWS, so we need to understand why Brokertron rejected it.